Game Framework  2021.05.31
ResourceApplySuccessEventArgs类 参考

资源应用成功事件。 更多...

类 ResourceApplySuccessEventArgs 继承关系图:
GameFrameworkEventArgs IReference

Public 成员函数

 ResourceApplySuccessEventArgs ()
 初始化资源应用成功事件的新实例。 更多...
 
override void Clear ()
 清理资源应用成功事件。 更多...
 
- Public 成员函数 继承自 GameFrameworkEventArgs
 GameFrameworkEventArgs ()
 初始化游戏框架中包含事件数据的类的新实例。 更多...
 

静态 Public 成员函数

static ResourceApplySuccessEventArgs Create (string name, string applyPath, string resourcePackPath, int length, int compressedLength)
 创建资源应用成功事件。 更多...
 

属性

string Name [get]
 获取资源名称。 更多...
 
string ApplyPath [get]
 获取资源应用后存放路径。 更多...
 
string ResourcePackPath [get]
 获取资源包路径。 更多...
 
int Length [get]
 获取资源大小。 更多...
 
int CompressedLength [get]
 获取压缩后大小。 更多...
 

详细描述

资源应用成功事件。

构造及析构函数说明

◆ ResourceApplySuccessEventArgs()

初始化资源应用成功事件的新实例。

成员函数说明

◆ Clear()

override void Clear ( )
virtual

清理资源应用成功事件。

实现了 GameFrameworkEventArgs.

◆ Create()

static ResourceApplySuccessEventArgs Create ( string  name,
string  applyPath,
string  resourcePackPath,
int  length,
int  compressedLength 
)
static

创建资源应用成功事件。

参数
name资源名称。
applyPath资源应用后存放路径。
resourcePackPath资源包路径。
length资源大小。
compressedLength压缩后大小。
返回
创建的资源应用成功事件。

属性说明

◆ ApplyPath

string ApplyPath
get

获取资源应用后存放路径。

◆ CompressedLength

int CompressedLength
get

获取压缩后大小。

◆ Length

int Length
get

获取资源大小。

◆ Name

string Name
get

获取资源名称。

◆ ResourcePackPath

string ResourcePackPath
get

获取资源包路径。