void Regulus.Project.Chat.Common.IPlayer.Exit()
        {
            var packageCallMethod = new Regulus.Remoting.PackageCallMethod();

            packageCallMethod.EntityId   = _GhostIdName;
            packageCallMethod.MethodName = "Exit";

            var paramList = new System.Collections.Generic.List <byte[]>();

            packageCallMethod.MethodParams = paramList.ToArray();
            _Requester.Request(Regulus.Remoting.ClientToServerOpCode.CallMethod, packageCallMethod.ToBuffer(_Serializer));
        }
        void Regulus.Project.Chat.Common.IAccount.Login(System.String user_name)
        {
            var packageCallMethod = new Regulus.Remoting.PackageCallMethod();

            packageCallMethod.EntityId   = _GhostIdName;
            packageCallMethod.MethodName = "Login";

            var paramList = new System.Collections.Generic.List <byte[]>();

            var user_nameBytes = _Serializer.Serialize(user_name);

            paramList.Add(user_nameBytes);

            packageCallMethod.MethodParams = paramList.ToArray();
            _Requester.Request(Regulus.Remoting.ClientToServerOpCode.CallMethod, packageCallMethod.ToBuffer(_Serializer));
        }
        Regulus.Remoting.Value <System.Boolean> Regulus.Project.Chat.Common.IPlayer.Talk(System.String message)
        {
            var packageCallMethod = new Regulus.Remoting.PackageCallMethod();

            packageCallMethod.EntityId   = _GhostIdName;
            packageCallMethod.MethodName = "Talk";

            var returnValue = new Regulus.Remoting.Value <System.Boolean>();
            var returnId    = _Queue.PushReturnValue(returnValue);

            packageCallMethod.ReturnId = returnId;

            var paramList = new System.Collections.Generic.List <byte[]>();

            var messageBytes = _Serializer.Serialize(message);

            paramList.Add(messageBytes);

            packageCallMethod.MethodParams = paramList.ToArray();
            _Requester.Request(Regulus.Remoting.ClientToServerOpCode.CallMethod, packageCallMethod.ToBuffer(_Serializer));

            return(returnValue);
        }