Exemple #1
0
 public static Offset <AbilityInfo> CreateAbilityInfo(FlatBufferBuilder builder,
                                                      uint abilityId  = 0,
                                                      bool instant    = false,
                                                      bool isAttached = false)
 {
     builder.StartObject(3);
     AbilityInfo.AddAbilityId(builder, abilityId);
     AbilityInfo.AddIsAttached(builder, isAttached);
     AbilityInfo.AddInstant(builder, instant);
     return(AbilityInfo.EndAbilityInfo(builder));
 }
Exemple #2
0
 public AbilityInfo GetAbilities(AbilityInfo obj, int j)
 {
     int o = __offset(14); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Exemple #3
0
 public static AbilityInfo GetRootAsAbilityInfo(ByteBuffer _bb, AbilityInfo obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }