规范对话数据
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using GameFramework;
|
||||
using GameFramework.Event;
|
||||
|
||||
namespace Event
|
||||
{
|
||||
public class BgTransitionCompletedEventArgs : GameEventArgs
|
||||
{
|
||||
public static readonly int EventId = typeof(BgTransitionCompletedEventArgs).GetHashCode();
|
||||
|
||||
public override int Id => EventId;
|
||||
|
||||
public int RequestId { get; private set; }
|
||||
|
||||
public BgTransitionCompletedEventArgs()
|
||||
{
|
||||
RequestId = 0;
|
||||
}
|
||||
|
||||
public static BgTransitionCompletedEventArgs Create(int requestId)
|
||||
{
|
||||
var args = ReferencePool.Acquire<BgTransitionCompletedEventArgs>();
|
||||
args.RequestId = requestId;
|
||||
return args;
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
RequestId = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 93ab6695ce06a7046b0cae37b46a813f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user