Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package m28.multiplayer {
  2.    
  3.     /**
  4.      * ...
  5.      * @author Matheus28
  6.      */
  7.     public interface IServerListener {
  8.         function init($server:ServerSide):void;
  9.         function destroy():void;
  10.        
  11.         function onTick():void;
  12.         function onUpdate(cl:ServerClient):Object;
  13.         function onClientMessage(cl:ServerClient, obj:Object):void;
  14.        
  15.        
  16.         function onObjectAdded(obj:NetObject):void;
  17.         function onObjectRemoved(obj:NetObject):void;
  18.        
  19.         function onClientConnect(cl:ServerClient):void;
  20.         function onClientDisconnect(cl:ServerClient):void;
  21.        
  22.         function shouldTransmit(cl:ServerClient, obj:NetObject):Boolean;
  23.        
  24.         function onClientTextMessage(cl:ServerClient, msg:String):void;
  25.     }
  26.    
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement