public virtual void SetFilePath(ResourceData file) { CocoStudioEngineAdapterPINVOKE.CSPanel_SetFilePath(this.swigCPtr, CSResourceData.getCPtr(new CSResourceData(file.Path, (CSEnumResourceType)file.Type, file.Plist))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void SetFileData(ResourceData resourceData) { CocoStudioEngineAdapterPINVOKE.CSImageView_SetFileData(this.swigCPtr, CSResourceData.getCPtr(new CSResourceData(resourceData.Path, (CSEnumResourceType)resourceData.Type, resourceData.Plist))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public CSResourceData(CSResourceData other) : this(CocoStudioEngineAdapterPINVOKE.new_CSResourceData__SWIG_4(CSResourceData.getCPtr(other)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual ResourceData GetFileData() { CSResourceData csResourceData = new CSResourceData(CocoStudioEngineAdapterPINVOKE.CSImageView_GetFileData(this.swigCPtr), true); return(new ResourceData((EnumResourceType)csResourceData.GetResourceType(), csResourceData.GetPath(), csResourceData.GetPlistFile())); }
public virtual ResourceData GetGroundBarTexture() { CSResourceData csResourceData = new CSResourceData(CocoStudioEngineAdapterPINVOKE.CSSlider_GetGroundBarTexture(this.swigCPtr), true); return(new ResourceData((EnumResourceType)csResourceData.GetResourceType(), csResourceData.GetPath(), csResourceData.GetPlistFile())); }
public virtual ResourceData GetPressedGroundFile() { CSResourceData csResourceData = new CSResourceData(CocoStudioEngineAdapterPINVOKE.CSCheckBox_GetPressedGroundFile(this.swigCPtr), true); return(new ResourceData((EnumResourceType)csResourceData.GetResourceType(), csResourceData.GetPath(), csResourceData.GetPlistFile())); }
public static HandleRef getCPtr(CSResourceData obj) { return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr); }
public bool Equals(ResourceData other) { bool flag = CocoStudioEngineAdapterPINVOKE.CSResourceData_Equals(this.swigCPtr, CSResourceData.getCPtr(new CSResourceData(other.Path, (CSEnumResourceType)other.Type, other.Plist))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(flag); }
public virtual bool SetAtlasFile(ResourceData file) { bool flag = CocoStudioEngineAdapterPINVOKE.CSTextAtlas_SetAtlasFile(this.swigCPtr, CSResourceData.getCPtr(new CSResourceData(file.Path, (CSEnumResourceType)file.Type, file.Plist))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(flag); }