protected void SendSwitchState2Client(Session session)
        {
            FunctionSwitch2Client msg = new FunctionSwitch2Client();

            msg.functionName   = FunctionName;
            msg.isOpenFunction = isOpenFunction;
            netManager.Send(session, msg);
        }
Esempio n. 2
0
        private void SendSwitchState2Client(LiteNetLibManager.Player player)
        {
            FunctionSwitch2Client msg = new FunctionSwitch2Client();

            msg.functionName   = FunctionName;
            msg.isOpenFunction = isOpenFunction;
            netManager.Send(player, msg);
        }