Пример #1
0
	public Msg_CharDeBuffResist( body_SC_CHAR_DEBUFF_RESIST _resist)
	{
		m_MessageType = eMessageType.CHAR_DEBUFF_RESIST;

		data_ = _resist;
	}
Пример #2
0
	private void CharDebuffResist(byte[] _packet)
	{
		Debug.Log("CharDebuffResist");

        body_SC_CHAR_DEBUFF_RESIST data = new body_SC_CHAR_DEBUFF_RESIST();
		data.PacketBytesToClass(_packet);

		AsUserEntity userEntity = AsEntityManager.Instance.GetUserEntityByUniqueId( data.nCharUniqKey );
		if( null != userEntity )
		{
			userEntity.HandleMessage(new Msg_CharDeBuffResist(data));
		}
	}