示例#1
0
 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));
 }
示例#2
0
 public static GetGameRewardsReq GetRootAsGetGameRewardsReq(ByteBuffer _bb, GetGameRewardsReq obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }