Ejemplo n.º 1
0
 public static Offset <ReadyMultiplayGameNotify> CreateReadyMultiplayGameNotify(FlatBufferBuilder builder,
                                                                                StringOffset accountIdOffset = default(StringOffset),
                                                                                StringOffset roomIDOffset    = default(StringOffset),
                                                                                int latency = 0)
 {
     builder.StartObject(3);
     ReadyMultiplayGameNotify.AddLatency(builder, latency);
     ReadyMultiplayGameNotify.AddRoomID(builder, roomIDOffset);
     ReadyMultiplayGameNotify.AddAccountId(builder, accountIdOffset);
     return(ReadyMultiplayGameNotify.EndReadyMultiplayGameNotify(builder));
 }
Ejemplo n.º 2
0
 public static ReadyMultiplayGameNotify GetRootAsReadyMultiplayGameNotify(ByteBuffer _bb, ReadyMultiplayGameNotify obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }