Ejemplo n.º 1
0
        public override void NetJoinOrCreateRoomHandler(NetJoinOrCreateRoom data)
        {
            base.NetJoinOrCreateRoomHandler(data);

            if (Client.IsConnectedAndReady)
            {
                Client.OpJoinOrCreateRoom(data.RoomId, 0, null);
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 // This method is executed when using this.Publish(new NetJoinOrCreateRoom())
 /// </summary>
 public virtual void NetJoinOrCreateRoomHandler(NetJoinOrCreateRoom data)
 {
     // Process the commands information.  Also, you can publish new events by using the line below.
     // this.Publish(new AnotherEvent())
 }