Beispiel #1
0
 public static Offset <GetGameStateReq> CreateGetGameStateReq(FlatBufferBuilder builder,
                                                              StringOffset accountIdOffset = default(StringOffset),
                                                              StringOffset roomIDOffset    = default(StringOffset))
 {
     builder.StartObject(2);
     GetGameStateReq.AddRoomID(builder, roomIDOffset);
     GetGameStateReq.AddAccountId(builder, accountIdOffset);
     return(GetGameStateReq.EndGetGameStateReq(builder));
 }
Beispiel #2
0
 public static GetGameStateReq GetRootAsGetGameStateReq(ByteBuffer _bb, GetGameStateReq obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }