コード例 #1
0
 public override void NetLeaveRoomHandler(NetLeaveRoom data)
 {
     base.NetLeaveRoomHandler(data);
     if (Client.IsConnectedAndReady)
     {
         Client.OpLeaveRoom();
     }
 }
コード例 #2
0
 /// <summary>
 // This method is executed when using this.Publish(new NetLeaveRoom())
 /// </summary>
 public virtual void NetLeaveRoomHandler(NetLeaveRoom data)
 {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }