public static Offset <GetGameDatasReq> CreateGetGameDatasReq(FlatBufferBuilder builder, StringOffset accountIdOffset = default(StringOffset), StringOffset roomIDOffset = default(StringOffset), StringOffset secretOffset = default(StringOffset)) { builder.StartObject(3); GetGameDatasReq.AddSecret(builder, secretOffset); GetGameDatasReq.AddRoomID(builder, roomIDOffset); GetGameDatasReq.AddAccountId(builder, accountIdOffset); return(GetGameDatasReq.EndGetGameDatasReq(builder)); }
public static GetGameDatasReq GetRootAsGetGameDatasReq(ByteBuffer _bb, GetGameDatasReq obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }