Exemplo n.º 1
0
 public static Offset <UdpMessages.ServerClientMessages.QueueUpdateMessage> CreateQueueUpdateMessage(FlatBufferBuilder builder,
                                                                                                     byte playersInQueue = 0)
 {
     builder.StartTable(1);
     QueueUpdateMessage.AddPlayersInQueue(builder, playersInQueue);
     return(QueueUpdateMessage.EndQueueUpdateMessage(builder));
 }
Exemplo n.º 2
0
 public static QueueUpdateMessage GetRootAsQueueUpdateMessage(ByteBuffer _bb, QueueUpdateMessage obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }