remove log
This commit is contained in:
@@ -128,7 +128,6 @@ namespace BrewMonster
|
||||
|
||||
private void OnMsgHstHurtResult(ECMSG Msg)
|
||||
{
|
||||
//BMLogger.LogError("HoangDev : OnMsgHstHurtResult");
|
||||
int cmd = Convert.ToInt32(Msg.dwParam2);
|
||||
if (cmd == CommandID.BE_HURT)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,6 @@ namespace BrewMonster
|
||||
// 坐下 / 站起
|
||||
public bool CmdSitDown(bool bSitDown)
|
||||
{
|
||||
BMLogger.LogError("HoangDev: CmdSitDown:"+bSitDown);
|
||||
if (!CanDo(ActionCanDo.CANDO_SITDOWN))
|
||||
return false;
|
||||
|
||||
|
||||
@@ -135,7 +135,6 @@ namespace BrewMonster
|
||||
int iAction = (int)PLAYER_ACTION_TYPE.ACT_STAND;
|
||||
bool bSession = false;
|
||||
|
||||
BMLogger.LogError("HoangDev: idEmote "+idEmote);
|
||||
// Select action according to pose
|
||||
switch (idEmote)
|
||||
{
|
||||
|
||||
@@ -603,7 +603,6 @@ namespace BrewMonster
|
||||
}*/
|
||||
else if (GetEquipSkillByID(idSkill) == null)
|
||||
{
|
||||
BMLogger.LogError("HoangDev: pSkill " + pSkill);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -15,14 +15,12 @@ namespace BrewMonster
|
||||
{
|
||||
public void OnMsgHstCorrectPos(in ECMSG Msg)
|
||||
{
|
||||
//Debug.LogError("HoangDev : OnMsgHstCorrectPos");
|
||||
byte[] buf = (byte[])Msg.dwParam1; // chỗ bạn lưu pDataBuf
|
||||
GCHandle handle = GCHandle.Alloc(buf, GCHandleType.Pinned);
|
||||
cmd_host_correct_pos pCmd = (cmd_host_correct_pos)Marshal.PtrToStructure(
|
||||
handle.AddrOfPinnedObject(), typeof(cmd_host_correct_pos));
|
||||
handle.Free();
|
||||
//cmd_host_correct_pos pCmd = GPDataTypeHelper.FromBytes<cmd_host_correct_pos>((byte[])Msg.dwParam1);
|
||||
// Debug.LogError("HoangDev :pCmd.pos " + pCmd.pos);
|
||||
SetPos(pCmd.pos);
|
||||
m_vVelocity.Clear();
|
||||
m_CDRInfo.vAbsVelocity.Clear();
|
||||
|
||||
@@ -359,7 +359,6 @@ namespace BrewMonster
|
||||
|
||||
public async Task<bool> LoadResources()
|
||||
{
|
||||
//BMLogger.LogError("HoangDev: CECHostPlayer::LoadResources");
|
||||
RoleInfo RoleInfo = UnityGameSession.Instance.GetRoleInfo();
|
||||
m_iProfession = RoleInfo.occupation;
|
||||
m_iGender = RoleInfo.gender;
|
||||
@@ -489,7 +488,6 @@ namespace BrewMonster
|
||||
public void ProcessMessage(in ECMSG Msg)
|
||||
{
|
||||
var msg = (int)Msg.dwMsg;
|
||||
//Debug.LogError("HoangDev : ProcessMessageProcessMessageProcessMessage " + msg);
|
||||
switch (msg)
|
||||
{
|
||||
case EC_MsgDef.MSG_HST_CORRECTPOS: OnMsgHstCorrectPos(Msg); break;
|
||||
@@ -1303,7 +1301,6 @@ namespace BrewMonster
|
||||
// Message MSG_HST_SELTARGET handler
|
||||
void OnMsgHstSelTarget(ECMSG Msg)
|
||||
{
|
||||
//BMLogger.LogError("HoangDev: OnMsgHstSelTarget");
|
||||
if (Convert.ToInt32(Msg.dwParam2) == CommandID.SELECT_TARGET)
|
||||
{
|
||||
var data = (byte[])Msg.dwParam1;
|
||||
@@ -2098,14 +2095,12 @@ namespace BrewMonster
|
||||
bRet = true;
|
||||
if (idTarget == 0)
|
||||
{
|
||||
//BMLogger.LogError("HoangDev: HostPlayer Unsetlect npc");
|
||||
UnityGameSession.c2s_CmdUnselect();
|
||||
m_idSelTarget = 0;
|
||||
m_idUCSelTarget = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
//BMLogger.LogError("HoangDev: HostPlayer setlect npc");
|
||||
UnityGameSession.c2s_CmdSelectTarget(idTarget);
|
||||
m_idSelTarget = idTarget;
|
||||
m_idUCSelTarget = idTarget;
|
||||
@@ -3376,7 +3371,6 @@ namespace BrewMonster
|
||||
|
||||
if (iPose == (int)RoleExpression.ROLEEXP_SITDOWN)
|
||||
{
|
||||
BMLogger.LogError("HoangDev: c2s_CmdSessionEmote: "+iPose);
|
||||
UnityGameSession.c2s_CmdSessionEmote(iPose);
|
||||
}
|
||||
else if (iPose == (int)RoleExpression.ROLEEXP_KISS)
|
||||
|
||||
@@ -222,7 +222,6 @@ namespace BrewMonster
|
||||
{
|
||||
return;
|
||||
}
|
||||
BMLogger.LogError("HoangDev animationName:"+animationName);
|
||||
bool isState = namedAnimancer.States.TryGet(animationName, out var existingState) ? true : false;
|
||||
if (isState)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user