public WorldClient(EndPoint _Remote, Socket _socket,string _key) { Remote = _Remote; socket = _socket; key = _key; cypher = new WorldEncryption(); messageQueue = new MessageQueue(); // Create the mpm structure for all world usage playerData = new ClientData(); viewMan = new ViewManager(); playerData.setUniqueKey(key); playerData.setRPCCounter((UInt16)0); //not hardcoded, RPC server system its AWESOME now! playerInstance = Store.world.objMan.GetAssignedObject(key); alive = true; deadSignals=0; }
public WorldClient(EndPoint _Remote, Socket _socket, string _key) { Remote = _Remote; socket = _socket; key = _key; cypher = new WorldEncryption(); messageQueue = new MessageQueue(); // Create the mpm structure for all world usage playerData = new ClientData(); viewMan = new ViewManager(); playerData.setUniqueKey(key); playerData.setRPCCounter((UInt16)0); //not hardcoded, RPC server system its AWESOME now! playerInstance = Store.world.objMan.GetAssignedObject(key); alive = true; deadSignals = 0; }