初始化仓库
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using GameFramework;
|
||||
using GameFramework.Event;
|
||||
|
||||
namespace Event
|
||||
{
|
||||
public class CombineCompletedEventArgs : GameEventArgs
|
||||
{
|
||||
public static readonly int EventId = typeof(CombineCompletedEventArgs).GetHashCode();
|
||||
|
||||
public override int Id => EventId;
|
||||
|
||||
public CombineCompletedEventArgs()
|
||||
{
|
||||
}
|
||||
|
||||
public static CombineCompletedEventArgs Create()
|
||||
{
|
||||
return ReferencePool.Acquire<CombineCompletedEventArgs>();
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8482dddcf83e4cbb90f9be95e807f65a
|
||||
timeCreated: 1770511198
|
||||
@@ -0,0 +1,32 @@
|
||||
using GameFramework;
|
||||
using GameFramework.Event;
|
||||
|
||||
namespace Event
|
||||
{
|
||||
public class CombineGuideMessageEventArgs : GameEventArgs
|
||||
{
|
||||
public static readonly int EventId = typeof(CombineGuideMessageEventArgs).GetHashCode();
|
||||
|
||||
public override int Id => EventId;
|
||||
|
||||
public string Message { get; private set; }
|
||||
|
||||
public CombineGuideMessageEventArgs()
|
||||
{
|
||||
Message = "";
|
||||
}
|
||||
|
||||
public static CombineGuideMessageEventArgs Create(string message)
|
||||
{
|
||||
var args = ReferencePool.Acquire<CombineGuideMessageEventArgs>();
|
||||
|
||||
args.Message = message;
|
||||
return args;
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
Message = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d6ccdc983514de981ac731659f6fa0e
|
||||
timeCreated: 1770510601
|
||||
@@ -0,0 +1,32 @@
|
||||
using GameFramework;
|
||||
using GameFramework.Event;
|
||||
|
||||
namespace Event
|
||||
{
|
||||
public class CombinePartMessageEventArgs : GameEventArgs
|
||||
{
|
||||
public static readonly int EventId = typeof(CombinePartMessageEventArgs).GetHashCode();
|
||||
|
||||
public override int Id => EventId;
|
||||
|
||||
public string Message { get; private set; }
|
||||
|
||||
public CombinePartMessageEventArgs()
|
||||
{
|
||||
Message = "";
|
||||
}
|
||||
|
||||
public static CombinePartMessageEventArgs Create(string message)
|
||||
{
|
||||
var args = ReferencePool.Acquire<CombinePartMessageEventArgs>();
|
||||
|
||||
args.Message = message;
|
||||
return args;
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
Message = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fd83ff85d4a8443db7a9cba10c02529f
|
||||
timeCreated: 1770510848
|
||||
@@ -0,0 +1,37 @@
|
||||
using GameFramework;
|
||||
using GameFramework.Event;
|
||||
|
||||
namespace Event
|
||||
{
|
||||
public class CombineProgressEventArgs : GameEventArgs
|
||||
{
|
||||
public static readonly int EventId = typeof(CombineProgressEventArgs).GetHashCode();
|
||||
|
||||
public override int Id => EventId;
|
||||
|
||||
public int CurrentStep { get; private set; }
|
||||
|
||||
public int TotalSteps { get; private set; }
|
||||
|
||||
public CombineProgressEventArgs()
|
||||
{
|
||||
CurrentStep = 0;
|
||||
TotalSteps = 0;
|
||||
}
|
||||
|
||||
public static CombineProgressEventArgs Create(int currentStep, int totalSteps)
|
||||
{
|
||||
var args = ReferencePool.Acquire<CombineProgressEventArgs>();
|
||||
|
||||
args.CurrentStep = currentStep;
|
||||
args.TotalSteps = totalSteps;
|
||||
return args;
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
CurrentStep = 0;
|
||||
TotalSteps = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a349f69307a242d99a2e7760beb11cbc
|
||||
timeCreated: 1770510177
|
||||
Reference in New Issue
Block a user