Added filter(text) to the EZGame API. Untested.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@394 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -219,6 +219,7 @@ public class GameControlBackend
|
||||
o["getPlayers_v1"] = getPlayers_v1;
|
||||
o["getPlayerPosition_v1"] = getPlayerPosition_v1;
|
||||
o["getMyPosition_v1"] = getMyPosition_v1;
|
||||
o["filter_v1"] = filter_v1;
|
||||
|
||||
o["startTransaction"] = startTransaction_v1;
|
||||
o["commitTransaction"] = commitTransaction_v1;
|
||||
@@ -318,6 +319,11 @@ public class GameControlBackend
|
||||
_ctx.getChatDirector().displayInfo(null, MessageBundle.taint(msg));
|
||||
}
|
||||
|
||||
public function filter_v1 (text :String) :String
|
||||
{
|
||||
return _ctx.getChatDirector().filter(text, null, true);
|
||||
}
|
||||
|
||||
public function getOccupants_v1 () :Array
|
||||
{
|
||||
validateConnected();
|
||||
|
||||
Reference in New Issue
Block a user