예제 #1
0
        public override void OnButtonClick(int buttonID)
        {
            switch (buttonID)
            {
            case 0:
                Dispose();
                break;

            case 1:
                WorldModel world = ServiceRegistry.GetService <WorldModel>();
                world.Disconnect();
                Dispose();
                break;
            }
        }
예제 #2
0
 private void logout_OnClose()
 {
     _world.Disconnect();
 }
예제 #3
0
 void logout_OnClose()
 {
     m_World.Disconnect();
 }