Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package m28.multiplayer {
- /**
- * ...
- * @author Matheus28
- */
- public interface IServerListener {
- function init($server:ServerSide):void;
- function destroy():void;
- function onTick():void;
- function onUpdate(cl:ServerClient):Object;
- function onClientMessage(cl:ServerClient, obj:Object):void;
- function onObjectAdded(obj:NetObject):void;
- function onObjectRemoved(obj:NetObject):void;
- function onClientConnect(cl:ServerClient):void;
- function onClientDisconnect(cl:ServerClient):void;
- function shouldTransmit(cl:ServerClient, obj:NetObject):Boolean;
- function onClientTextMessage(cl:ServerClient, msg:String):void;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement