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