Exemple #1
0
 public static Offset <HPNotify> CreateHPNotify(FlatBufferBuilder builder,
                                                int myidx = 0,
                                                int myHpD = 0,
                                                VectorOffset enemiesHpDOffset = default(VectorOffset))
 {
     builder.StartObject(3);
     HPNotify.AddEnemiesHpD(builder, enemiesHpDOffset);
     HPNotify.AddMyHpD(builder, myHpD);
     HPNotify.AddMyidx(builder, myidx);
     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));
 }