public static Offset <AddCredits> CreateAddCredits(FlatBufferBuilder builder, int amount = 0) { builder.StartObject(1); AddCredits.AddAmount(builder, amount); return(AddCredits.EndAddCredits(builder)); }
public static AddCredits GetRootAsAddCredits(ByteBuffer _bb, AddCredits obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }