public static Offset <GetGameRewardsReq> CreateGetGameRewardsReq(FlatBufferBuilder builder, StringOffset accountIdOffset = default(StringOffset), StringOffset roomIDOffset = default(StringOffset)) { builder.StartObject(2); GetGameRewardsReq.AddRoomID(builder, roomIDOffset); GetGameRewardsReq.AddAccountId(builder, accountIdOffset); return(GetGameRewardsReq.EndGetGameRewardsReq(builder)); }
public static GetGameRewardsReq GetRootAsGetGameRewardsReq(ByteBuffer _bb, GetGameRewardsReq obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }