Exemplo n.º 1
0
	void OnGUI()
	{
		GUILayout.BeginArea( new Rect( 1, 1, 120, 100));
		if( true == GUILayout.Button( "MobSpawn 260113 10"))
		{
			int nRadius = 10;
			body_CG_CHEAT packet = new body_CG_CHEAT( (int)eCheatType.CT_MobSpawn, "", 260133, nRadius, 10, 0, 0, 0);
			byte[] data = packet.ClassToPacketBytes();
			AsNetworkMessageHandler.Instance.Send( data);
		}

		GUILayout.EndArea();
	}
Exemplo n.º 2
0
	private void _Send_PrivateShop(int nType, int nType2)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_PrivateShop, "", nType, nType2, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 3
0
	private void _Send_QSet(int nID, int nIndex, int nCount)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_QSet, "", nID, nIndex, nCount, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 4
0
	private void _Send_QComplete(int nID)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_QComplete, "", nID, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 5
0
	private void _Send_MobStop(bool isStop)
	{
		int stop = 0;
		if( true == isStop)
			stop = 1;
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_MobStop, "", stop, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 6
0
	private void _Send_CharacterDie()
	{
		AsEntityManager.Instance.BroadcastMessageToAllEntities( new Msg_Cheat_Death());
		
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Die, "", 0, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 7
0
	private void _Send_InventoryExtendMax()
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_InventoryExtendMax, "", 0, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 8
0
 private void _Send_ApRankSort()
 {
     body_CG_CHEAT packet = new body_CG_CHEAT((Int32)eCheatType.CT_ApSort, "", 0, 0, 0, 0, 0, 0);
     byte[] data = packet.ClassToPacketBytes();
     AsNetworkMessageHandler.Instance.Send(data);
 }
Exemplo n.º 9
0
	private void _Send_Accuracy(int nAccuracy)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Accuracy, "", nAccuracy, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 10
0
	private void _Send_Condition(int nCondition)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Condition, "", nCondition, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 11
0
	private void _Send_MP(int nMPPercent)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_MP, "", nMPPercent, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 12
0
	private void _Send_Cool(bool bCool)
	{
		int nCool = 0;
		if( true == bCool)
			nCool = 1;
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Cool, "", nCool, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 13
0
	private void _Send_Go(string strName)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Go, strName, 0, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 14
0
	private void _Send_Rank(int nHour, int nMin, int nResetHour, int nResetMin)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Rank, "", nHour, nMin, nResetHour, (float)nResetMin, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 15
0
	private void _Send_ItemMakeDropGroup(int nItemMakeDropGroup, int nItemUpgrade)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_ItemMakeDropGroup, "", nItemMakeDropGroup, nItemUpgrade, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 16
0
 private void _Send_ApPointUp(int nValue)
 {
     body_CG_CHEAT packet = new body_CG_CHEAT((Int32)eCheatType.CT_ApPoint, "", nValue, 0, 0, 0, 0, 0);
     byte[] data = packet.ClassToPacketBytes();
     AsNetworkMessageHandler.Instance.Send(data);
 }
Exemplo n.º 17
0
	private void _Send_DropRate(int nValue1, int nValue2, int nValue3)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_DropRate, "", nValue1, nValue2, nValue3, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 18
0
	private void _Send_Test(int n1, int n2, int n3, float f1, float f2, float f3)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Test, "", n1, n2, n3, f1, f2, f3);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 19
0
	private void _Send_MobSpawn(int nID, int nCount, int nChannel_1, int nChannel_2)
	{
		int nRadius = 10;
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_MobSpawn, "", nID, nRadius, nCount, nChannel_1, nChannel_2, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}
Exemplo n.º 20
0
	public void ReadyPStore()
	{
		AsUserEntity user = AsUserInfo.Instance.GetCurrentUserEntity();
		if(user.GetProperty<bool>(eComponentProperty.SHOP_OPENING) == false)
		{
			body_CG_CHEAT cheat = new body_CG_CHEAT(26, "", 1, 0, 0, 0, 0, 0);
			AsCommonSender.Send(cheat.ClassToPacketBytes());
		}
		else
		{
			m_StoreState = ePStoreState.User_Opening;
			
			Debug.LogWarning("Bug Searching::: AsPStoreManager:: ReadyPStore: private shop dialog is instantiated");
			AsHudDlgMgr.Instance.OpenPStore();
		}
	}
Exemplo n.º 21
0
	private void _Send_CharacterLevel(int nLevel)
	{
		body_CG_CHEAT packet = new body_CG_CHEAT( (Int32)eCheatType.CT_Level, "", nLevel, 0, 0, 0, 0, 0);
		byte[] data = packet.ClassToPacketBytes();
		AsNetworkMessageHandler.Instance.Send( data);
	}