public static Offset <GetGameDatasRsp> CreateGetGameDatasRsp(FlatBufferBuilder builder, int stat = 0, long startTime = 0, long endTime = 0, int GameClass = 0, StringOffset GameSceneOffset = default(StringOffset), VectorOffset playerStatOffset = default(VectorOffset), VectorOffset bossStatOffset = default(VectorOffset), VectorOffset accDatasOffset = default(VectorOffset), VectorOffset acDatasOffset = default(VectorOffset)) { builder.StartObject(9); GetGameDatasRsp.AddEndTime(builder, endTime); GetGameDatasRsp.AddStartTime(builder, startTime); GetGameDatasRsp.AddAcDatas(builder, acDatasOffset); GetGameDatasRsp.AddAccDatas(builder, accDatasOffset); GetGameDatasRsp.AddBossStat(builder, bossStatOffset); GetGameDatasRsp.AddPlayerStat(builder, playerStatOffset); GetGameDatasRsp.AddGameScene(builder, GameSceneOffset); GetGameDatasRsp.AddGameClass(builder, GameClass); GetGameDatasRsp.AddStat(builder, stat); return(GetGameDatasRsp.EndGetGameDatasRsp(builder)); }
public static GetGameDatasRsp GetRootAsGetGameDatasRsp(ByteBuffer _bb, GetGameDatasRsp obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }