Exemple #1
0
 public static Offset <HPNotify> CreateHPNotify(FlatBufferBuilder builder,
                                                StringOffset accountIdOffset = default(StringOffset),
                                                StringOffset roomIDOffset    = default(StringOffset),
                                                int playerHpD = 0,
                                                VectorOffset bossHpDOffset = default(VectorOffset))
 {
     builder.StartObject(4);
     HPNotify.AddBossHpD(builder, bossHpDOffset);
     HPNotify.AddPlayerHpD(builder, playerHpD);
     HPNotify.AddRoomID(builder, roomIDOffset);
     HPNotify.AddAccountId(builder, accountIdOffset);
     return(HPNotify.EndHPNotify(builder));
 }
Exemple #2
0
 public static HPNotify GetRootAsHPNotify(ByteBuffer _bb, HPNotify obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }