forked from egametang/ET
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
51 additions
and
2,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/Unity.Mono.csproj | ||
/Unity.ThirdParty.csproj | ||
/Unity.sln | ||
/Unity.sln.DotSettings.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
{ | ||
public interface INumericWatcher | ||
{ | ||
void Run(long id, long value); | ||
void Run(EventType.NumbericChange args); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
namespace ET | ||
{ | ||
public enum NumericType | ||
// 这个可弄个配置表生成 | ||
public static class NumericType | ||
{ | ||
Max = 10000, | ||
public const int Max = 10000; | ||
|
||
Speed = 1000, | ||
SpeedBase = Speed * 10 + 1, | ||
SpeedAdd = Speed * 10 + 2, | ||
SpeedPct = Speed * 10 + 3, | ||
SpeedFinalAdd = Speed * 10 + 4, | ||
SpeedFinalPct = Speed * 10 + 5, | ||
|
||
Hp = 1001, | ||
HpBase = Hp * 10 + 1, | ||
public const int Speed = 1000; | ||
public const int SpeedBase = Speed * 10 + 1; | ||
public const int SpeedAdd = Speed * 10 + 2; | ||
public const int SpeedPct = Speed * 10 + 3; | ||
public const int SpeedFinalAdd = Speed * 10 + 4; | ||
public const int SpeedFinalPct = Speed * 10 + 5; | ||
|
||
MaxHp = 1002, | ||
MaxHpBase = MaxHp * 10 + 1, | ||
MaxHpAdd = MaxHp * 10 + 2, | ||
MaxHpPct = MaxHp * 10 + 3, | ||
MaxHpFinalAdd = MaxHp * 10 + 4, | ||
MaxHpFinalPct = MaxHp * 10 + 5, | ||
|
||
AOI = 1003, | ||
AOIBase = AOI * 10 + 1, | ||
AOIAdd = AOI * 10 + 2, | ||
AOIPct = AOI * 10 + 3, | ||
AOIFinalAdd = AOI * 10 + 4, | ||
AOIFinalPct = AOI * 10 + 5, | ||
} | ||
public const int Hp = 1001; | ||
public const int HpBase = Hp * 10 + 1; | ||
|
||
public const int MaxHp = 1002; | ||
public const int MaxHpBase = MaxHp * 10 + 1; | ||
public const int MaxHpAdd = MaxHp * 10 + 2; | ||
public const int MaxHpPct = MaxHp * 10 + 3; | ||
public const int MaxHpFinalAdd = MaxHp * 10 + 4; | ||
public const int MaxHpFinalPct = MaxHp * 10 + 5; | ||
|
||
public const int AOI = 1003; | ||
public const int AOIBase = AOI * 10 + 1; | ||
public const int AOIAdd = AOI * 10 + 2; | ||
public const int AOIPct = AOI * 10 + 3; | ||
public const int AOIFinalAdd = AOI * 10 + 4; | ||
public const int AOIFinalPct = AOI * 10 + 5; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.