public static TileLevelInfo FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } TileLevelInfo obj = baseObj as TileLevelInfo; if (object.Equals(obj, null)) { obj = new TileLevelInfo(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CTileLevelInfo"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { TileLevelInfo emptyInstance = new TileLevelInfo(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }