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:
@@ -457,6 +457,17 @@ public class EZGameControl extends BaseControl
|
||||
callEZCode("localChat_v1", msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the specified text through the user's chat filter. This is not necessary for sendChat,
|
||||
* but may be desirable for other user-entered text.
|
||||
*
|
||||
* @return the filtered text, or null if it was so bad it's gone.
|
||||
*/
|
||||
public function filter (text :String) :String
|
||||
{
|
||||
return (callEZCode("filter_v1", text) as String);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the player ids of all occupants in the game room.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user