convert skill combo'
This commit is contained in:
@@ -85,6 +85,21 @@ public static class EC_Utility
|
||||
{
|
||||
return new System.Numerics.Vector3(v.x, v.y, v.z);
|
||||
}
|
||||
public static byte glb_BuildRefuseBLSMask()
|
||||
{
|
||||
byte byMask = 0;
|
||||
|
||||
// const EC_GAME_SETTING &gs = g_pGame->GetConfigs()->GetGameSettings();
|
||||
var gs = EC_Game.GetConfigs().GetGameSettings();
|
||||
|
||||
if (gs.bBlsRefuse_Neutral)
|
||||
byMask |= (byte)REFUSE_BLESS_MASK.REFUSE_NEUTRAL_BLESS;
|
||||
|
||||
if (gs.bBlsRefuse_NonTeammate)
|
||||
byMask |= (byte)REFUSE_BLESS_MASK.REFUSE_NON_TEAMMATE_BLESS;
|
||||
|
||||
return byMask;
|
||||
}
|
||||
public static void Swap<T>(List<T> arr, int a, int b)
|
||||
{
|
||||
T tmp = arr[a];
|
||||
|
||||
Reference in New Issue
Block a user