Exemplo n.º 1
0
        public void CreateRoom(string text, uint[] users)
        {
            //한 방에는 최대 20명
            NewRoomStruct newRoom = new NewRoomStruct();

            newRoom.Name   = text;
            newRoom.UserID = users;

            ChatPacketSend(BlindChatUtil.StructToChatPacket(newRoom));
        }
Exemplo n.º 2
0
 public static ChatPacket StructToChatPacket(NewRoomStruct newRoom)
 {
     byte[] data = BlindNetUtil.StructToByte(newRoom);
     return(BlindChatUtil.ByteToChatPacket(data, ChatType.NewRoom));
 }