Ejemplo n.º 1
0
 public static void SyncPlayerPos(PlayerSyncInfo syncInfo,User user)
 {
     MatchMember matchMember = user.GetMatchMember();
     if (matchMember == null)
     {
         return;
     }
     matchMember.SyncPlayerPos(syncInfo);
 }
Ejemplo n.º 2
0
 public static void GameInfo(PlayerSyncInfo syncInfo, ClientNet cliNet)
 {
     cliNet._clientEvent.OnUserSyncPosInfo(syncInfo);
 }
Ejemplo n.º 3
0
        public bool SyncPlayerInfo(PlayerSyncInfo syncInfo)
        {
            object[] pars = { syncInfo };
            APIMessage message = new APIMessage { Type = (int)enMessageType.EMT_CS_SyncPlayerPos, Parameters = pars };

            _ClientNet.SendMsg(message);
            return true;
        }