Exemplo n.º 1
0
 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),
                                                                          long timeStampS = 0,
                                                                          int timeStampNS = 0)
 {
     builder.StartObject(11);
     EnterMultiplayGameRsp.AddTimeStampS(builder, timeStampS);
     EnterMultiplayGameRsp.AddEndTime(builder, endTime);
     EnterMultiplayGameRsp.AddStartTime(builder, startTime);
     EnterMultiplayGameRsp.AddTimeStampNS(builder, timeStampNS);
     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));
 }
Exemplo n.º 2
0
 public static EnterMultiplayGameRsp GetRootAsEnterMultiplayGameRsp(ByteBuffer _bb, EnterMultiplayGameRsp obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }