internal static int ReserveStyle() { int reserve = nextWaterfallStyle; nextWaterfallStyle++; return reserve; }
protected sealed override void Register() { Type = WaterfallStyleLoader.ReserveStyle(); ModTypeLookup <ModWaterfallStyle> .Register(this); WaterfallStyleLoader.waterfallStyles.Add(this); }