SceneConfigData 类
程序集: Fantasy.Net.dll
[ProtoContract]
public sealed class SceneConfigData : ASerialize, ISupportInitialize, IDisposable, IConfigTable, IProto
属性
|
编辑本文
查看源代码
声明
public static SceneConfigData Instance { get; }
属性值
|
编辑本文
查看源代码
声明
[ProtoMember(1)]
public List<SceneConfig> List { get; set; }
属性值
方法
|
编辑本文
查看源代码
声明
public override void AfterDeserialization()
重写
|
编辑本文
查看源代码
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
声明
public override void Dispose()
重写
|
编辑本文
查看源代码
Signals the object that initialization is complete.
声明
public override void EndInit()
重写
|
编辑本文
查看源代码
声明
public SceneConfig Get(uint id, bool check = true)
参数
返回
|
编辑本文
查看源代码
声明
public List<SceneConfig> GetByProcess(uint serverConfigId)
参数
类型 |
名称 |
描述 |
uint |
serverConfigId |
|
返回
|
编辑本文
查看源代码
声明
public List<SceneConfig> GetSceneBySceneType(int sceneType)
参数
返回
|
编辑本文
查看源代码
声明
public bool TryGet(uint id, out SceneConfig config)
参数
返回
实现
扩展方法