fix: Update show elesplayer,
This commit is contained in:
@@ -9,7 +9,7 @@ namespace PerfectWorld.Scripts.Managers
|
||||
{
|
||||
public class EC_ManPlayer : IMsgHandler
|
||||
{
|
||||
public int HandlerId => MANAGER_INDEX.MAN_PLAYER;
|
||||
public int HandlerId => (int)MANAGER_INDEX.MAN_PLAYER;
|
||||
public bool ProcessMessage(ECMSG Msg)
|
||||
{
|
||||
if (Msg.iSubID == 0)
|
||||
@@ -45,7 +45,7 @@ namespace PerfectWorld.Scripts.Managers
|
||||
byteArray[i] = data[i];
|
||||
}
|
||||
int cid = BitConverter.ToInt32(byteArray);
|
||||
switch (Msg.dwParam2)
|
||||
switch (Convert.ToInt32(Msg.dwParam2))
|
||||
{
|
||||
case CommandID.PLAYER_INFO_1:
|
||||
case CommandID.PLAYER_ENTER_WORLD:
|
||||
@@ -53,7 +53,7 @@ namespace PerfectWorld.Scripts.Managers
|
||||
{
|
||||
if (cid != iHostID)
|
||||
{
|
||||
|
||||
GameController.Instance.Log("ElsePlayer has join");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user