Ejemplo n.º 1
0
 public virtual void Init(Player info)
 {
     PlayerInfo = new ZPlayer();
     PlayerInfo.Copy(info);
     isHouseOwner = PlayerInfo.IsHouseOwner;
     isOwner      = ZClient.Instance.PlayerID == info.PlayerId;
 }
Ejemplo n.º 2
0
 public void UpdateData(Player info)
 {
     if (isOwner)
     {
         return;
     }
     PlayerInfo.Copy(info);
     UpdatePoseData();
 }