mono/packages/registry/ref/CKParameter.ts

202 lines
4.3 KiB
TypeScript

class CKParameter extends CKObject {
private m_Owner: CKObject | null;
private m_ParamType: CKParameterTypeDesc | null;
private m_DataSize: number;
private m_AllocatedSize: number;
private m_Buffer: Uint8Array | null;
constructor(context: CKContext, name: string | null = null) {
super(context, name);
this.m_Owner = null;
this.m_ParamType = null;
this.m_DataSize = 0;
this.m_AllocatedSize = 0;
this.m_Buffer = null;
}
GetValueObject(update: boolean = true): CKObject | null {
// Implementation goes here
return null;
}
GetValue(buf: any, update: boolean = true): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
SetValue(buf: any, size: number = 0): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
CopyValue(param: CKParameter, UpdateParam: boolean = true): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
IsCompatibleWith(param: CKParameter): boolean {
// Implementation goes here
return false;
}
GetDataSize(): number {
// Implementation goes here
return 0;
}
GetReadDataPtr(update: boolean = true): any {
// Implementation goes here
return null;
}
GetWriteDataPtr(): any {
// Implementation goes here
return null;
}
SetStringValue(Value: CKSTRING): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
GetStringValue(Value: CKSTRING, update: boolean = true): number {
// Implementation goes here
return 0;
}
GetType(): CKParameterType {
// Implementation goes here
return CKParameterType.INVALID;
}
SetType(type: CKParameterType) {
// Implementation goes here
}
GetGUID(): CKGUID {
// Implementation goes here
return { d1: 0, d2: 0, d3: 0, d4: [0] };
}
SetGUID(guid: CKGUID) {
// Implementation goes here
}
GetParameterClassID(): CK_CLASSID {
// Implementation goes here
return 0;
}
SetOwner(o: CKObject | null) {
// Implementation goes here
}
GetOwner(): CKObject | null {
// Implementation goes here
return this.m_Owner;
}
CheckClass(iType: CKParameterTypeDesc) {
// Implementation goes here
}
Enable(act: boolean = true) {
// Implementation goes here
}
IsEnabled(): boolean {
// Implementation goes here
return false;
}
PreSave(file: CKFile, flags: CKDWORD) {
// Implementation goes here
}
Save(file: CKFile, flags: CKDWORD): CKStateChunk | null {
// Implementation goes here
return null;
}
Load(chunk: CKStateChunk, file: CKFile): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
CheckPostDeletion() {
// Implementation goes here
}
GetMemoryOccupation(): number {
// Implementation goes here
return 0;
}
IsObjectUsed(o: CKObject, cid: CK_CLASSID): boolean {
// Implementation goes here
return false;
}
PrepareDependencies(context: CKDependenciesContext, iCaller: boolean = true): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
RemapDependencies(context: CKDependenciesContext): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
Copy(o: CKObject, context: CKDependenciesContext): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
static GetClassName(): string {
return "CKParameter";
}
static GetDependenciesCount(mode: number): number {
return 0;
}
static GetDependencies(i: number, mode: number): string {
return "";
}
static Register() {
// Implementation goes here
}
static CreateInstance(context: CKContext): CKParameter {
return new CKParameter(context);
}
static ReleaseInstance(context: CKContext, param: CKParameter) {
// Implementation goes here
}
static m_ClassID: CK_CLASSID = 0;
static Cast(iO: CKObject): CKParameter | null {
return CKIsChildClassOf(iO, CKCID.PARAMETER) ? (iO as CKParameter) : null;
}
CreateDefaultValue(): CKERROR {
// Implementation goes here
return CKERROR.SUCCESS;
}
MessageDeleteAfterUse(act: boolean) {
// Implementation goes here
}
GetParameterType(): CKParameterTypeDesc | null {
return this.m_ParamType;
}
IsCandidateForFixedSize(iType: CKParameterTypeDesc): boolean {
// Implementation goes here
return false;
}
}