|
|
@@ -9,7 +9,7 @@ namespace ET
|
|
|
{
|
|
|
public static HttpGetRouterResponse Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new HttpGetRouterResponse() : ObjectPool.Instance.Fetch(typeof(HttpGetRouterResponse)) as HttpGetRouterResponse;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(HttpGetRouterResponse), isFromPool) as HttpGetRouterResponse;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -35,7 +35,7 @@ namespace ET
|
|
|
{
|
|
|
public static RouterSync Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new RouterSync() : ObjectPool.Instance.Fetch(typeof(RouterSync)) as RouterSync;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(RouterSync), isFromPool) as RouterSync;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -62,7 +62,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_TestRequest Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_TestRequest() : ObjectPool.Instance.Fetch(typeof(C2M_TestRequest)) as C2M_TestRequest;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_TestRequest), isFromPool) as C2M_TestRequest;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -88,7 +88,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_TestResponse Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_TestResponse() : ObjectPool.Instance.Fetch(typeof(M2C_TestResponse)) as M2C_TestResponse;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_TestResponse), isFromPool) as M2C_TestResponse;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -123,7 +123,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2G_EnterMap Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2G_EnterMap() : ObjectPool.Instance.Fetch(typeof(C2G_EnterMap)) as C2G_EnterMap;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2G_EnterMap), isFromPool) as C2G_EnterMap;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -145,7 +145,7 @@ namespace ET
|
|
|
{
|
|
|
public static G2C_EnterMap Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new G2C_EnterMap() : ObjectPool.Instance.Fetch(typeof(G2C_EnterMap)) as G2C_EnterMap;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(G2C_EnterMap), isFromPool) as G2C_EnterMap;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -180,7 +180,7 @@ namespace ET
|
|
|
{
|
|
|
public static MoveInfo Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new MoveInfo() : ObjectPool.Instance.Fetch(typeof(MoveInfo)) as MoveInfo;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(MoveInfo), isFromPool) as MoveInfo;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -210,7 +210,7 @@ namespace ET
|
|
|
{
|
|
|
public static UnitInfo Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new UnitInfo() : ObjectPool.Instance.Fetch(typeof(UnitInfo)) as UnitInfo;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(UnitInfo), isFromPool) as UnitInfo;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -256,7 +256,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_CreateUnits Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_CreateUnits() : ObjectPool.Instance.Fetch(typeof(M2C_CreateUnits)) as M2C_CreateUnits;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_CreateUnits), isFromPool) as M2C_CreateUnits;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -278,7 +278,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_CreateMyUnit Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_CreateMyUnit() : ObjectPool.Instance.Fetch(typeof(M2C_CreateMyUnit)) as M2C_CreateMyUnit;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_CreateMyUnit), isFromPool) as M2C_CreateMyUnit;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -300,7 +300,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_StartSceneChange Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_StartSceneChange() : ObjectPool.Instance.Fetch(typeof(M2C_StartSceneChange)) as M2C_StartSceneChange;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_StartSceneChange), isFromPool) as M2C_StartSceneChange;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -326,7 +326,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_RemoveUnits Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_RemoveUnits() : ObjectPool.Instance.Fetch(typeof(M2C_RemoveUnits)) as M2C_RemoveUnits;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_RemoveUnits), isFromPool) as M2C_RemoveUnits;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -348,7 +348,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_PathfindingResult Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_PathfindingResult() : ObjectPool.Instance.Fetch(typeof(C2M_PathfindingResult)) as C2M_PathfindingResult;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_PathfindingResult), isFromPool) as C2M_PathfindingResult;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -374,7 +374,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_Stop Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_Stop() : ObjectPool.Instance.Fetch(typeof(C2M_Stop)) as C2M_Stop;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_Stop), isFromPool) as C2M_Stop;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -396,7 +396,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_PathfindingResult Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_PathfindingResult() : ObjectPool.Instance.Fetch(typeof(M2C_PathfindingResult)) as M2C_PathfindingResult;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_PathfindingResult), isFromPool) as M2C_PathfindingResult;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -426,7 +426,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_Stop Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_Stop() : ObjectPool.Instance.Fetch(typeof(M2C_Stop)) as M2C_Stop;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_Stop), isFromPool) as M2C_Stop;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -461,7 +461,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2G_Ping Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2G_Ping() : ObjectPool.Instance.Fetch(typeof(C2G_Ping)) as C2G_Ping;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2G_Ping), isFromPool) as C2G_Ping;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -483,7 +483,7 @@ namespace ET
|
|
|
{
|
|
|
public static G2C_Ping Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new G2C_Ping() : ObjectPool.Instance.Fetch(typeof(G2C_Ping)) as G2C_Ping;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(G2C_Ping), isFromPool) as G2C_Ping;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -517,7 +517,7 @@ namespace ET
|
|
|
{
|
|
|
public static G2C_Test Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new G2C_Test() : ObjectPool.Instance.Fetch(typeof(G2C_Test)) as G2C_Test;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(G2C_Test), isFromPool) as G2C_Test;
|
|
|
}
|
|
|
|
|
|
public override void Dispose()
|
|
|
@@ -536,7 +536,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_Reload Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_Reload() : ObjectPool.Instance.Fetch(typeof(C2M_Reload)) as C2M_Reload;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_Reload), isFromPool) as C2M_Reload;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -566,7 +566,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_Reload Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_Reload() : ObjectPool.Instance.Fetch(typeof(M2C_Reload)) as M2C_Reload;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_Reload), isFromPool) as M2C_Reload;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -597,7 +597,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2R_Login Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2R_Login() : ObjectPool.Instance.Fetch(typeof(C2R_Login)) as C2R_Login;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2R_Login), isFromPool) as C2R_Login;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -627,7 +627,7 @@ namespace ET
|
|
|
{
|
|
|
public static R2C_Login Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new R2C_Login() : ObjectPool.Instance.Fetch(typeof(R2C_Login)) as R2C_Login;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(R2C_Login), isFromPool) as R2C_Login;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -670,7 +670,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2G_LoginGate Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2G_LoginGate() : ObjectPool.Instance.Fetch(typeof(C2G_LoginGate)) as C2G_LoginGate;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2G_LoginGate), isFromPool) as C2G_LoginGate;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -700,7 +700,7 @@ namespace ET
|
|
|
{
|
|
|
public static G2C_LoginGate Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new G2C_LoginGate() : ObjectPool.Instance.Fetch(typeof(G2C_LoginGate)) as G2C_LoginGate;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(G2C_LoginGate), isFromPool) as G2C_LoginGate;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -734,7 +734,7 @@ namespace ET
|
|
|
{
|
|
|
public static G2C_TestHotfixMessage Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new G2C_TestHotfixMessage() : ObjectPool.Instance.Fetch(typeof(G2C_TestHotfixMessage)) as G2C_TestHotfixMessage;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(G2C_TestHotfixMessage), isFromPool) as G2C_TestHotfixMessage;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -757,7 +757,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_TestRobotCase Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_TestRobotCase() : ObjectPool.Instance.Fetch(typeof(C2M_TestRobotCase)) as C2M_TestRobotCase;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_TestRobotCase), isFromPool) as C2M_TestRobotCase;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -783,7 +783,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_TestRobotCase Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_TestRobotCase() : ObjectPool.Instance.Fetch(typeof(M2C_TestRobotCase)) as M2C_TestRobotCase;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_TestRobotCase), isFromPool) as M2C_TestRobotCase;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -817,7 +817,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_TestRobotCase2 Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_TestRobotCase2() : ObjectPool.Instance.Fetch(typeof(C2M_TestRobotCase2)) as C2M_TestRobotCase2;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_TestRobotCase2), isFromPool) as C2M_TestRobotCase2;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -843,7 +843,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_TestRobotCase2 Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_TestRobotCase2() : ObjectPool.Instance.Fetch(typeof(M2C_TestRobotCase2)) as M2C_TestRobotCase2;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_TestRobotCase2), isFromPool) as M2C_TestRobotCase2;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -870,7 +870,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2M_TransferMap Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2M_TransferMap() : ObjectPool.Instance.Fetch(typeof(C2M_TransferMap)) as C2M_TransferMap;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2M_TransferMap), isFromPool) as C2M_TransferMap;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -892,7 +892,7 @@ namespace ET
|
|
|
{
|
|
|
public static M2C_TransferMap Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new M2C_TransferMap() : ObjectPool.Instance.Fetch(typeof(M2C_TransferMap)) as M2C_TransferMap;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(M2C_TransferMap), isFromPool) as M2C_TransferMap;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -923,7 +923,7 @@ namespace ET
|
|
|
{
|
|
|
public static C2G_Benchmark Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new C2G_Benchmark() : ObjectPool.Instance.Fetch(typeof(C2G_Benchmark)) as C2G_Benchmark;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(C2G_Benchmark), isFromPool) as C2G_Benchmark;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|
|
|
@@ -945,7 +945,7 @@ namespace ET
|
|
|
{
|
|
|
public static G2C_Benchmark Create(bool isFromPool = true)
|
|
|
{
|
|
|
- return !isFromPool? new G2C_Benchmark() : ObjectPool.Instance.Fetch(typeof(G2C_Benchmark)) as G2C_Benchmark;
|
|
|
+ return ObjectPool.Instance.Fetch(typeof(G2C_Benchmark), isFromPool) as G2C_Benchmark;
|
|
|
}
|
|
|
|
|
|
[MemoryPackOrder(0)]
|