コード例 #1
0
ファイル: Client.cs プロジェクト: jackmott/galaxy
 public void Cleanup()
 {
     LogicLayer.RemoveClientFromAll(this);
     //persist player
     DataLayer.UpdateGalaxyPlayer(Player);
     if (GalaxyTcpClient != null)
     {
         GalaxyTcpClient.Close();
     }
     if (GalaxyUdpClient != null)
     {
         GalaxyUdpClient.Close();
     }
 }