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