Esempio n. 1
0
 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();
     }
 }
Esempio n. 2
0
 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();
     }
 }
Esempio n. 3
0
 public CSResourceData(CSResourceData other)
     : this(CocoStudioEngineAdapterPINVOKE.new_CSResourceData__SWIG_4(CSResourceData.getCPtr(other)), true)
 {
     if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending)
     {
         throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
        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);
        }