public static Offset <AllHPNotify> CreateAllHPNotify(FlatBufferBuilder builder, int sublevel = 0, VectorOffset HpsOffset = default(VectorOffset), VectorOffset enemiesHpOffset = default(VectorOffset)) { builder.StartObject(3); AllHPNotify.AddEnemiesHp(builder, enemiesHpOffset); AllHPNotify.AddHps(builder, HpsOffset); AllHPNotify.AddSublevel(builder, sublevel); return(AllHPNotify.EndAllHPNotify(builder)); }
public static AllHPNotify GetRootAsAllHPNotify(ByteBuffer _bb, AllHPNotify obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }