Ejemplo n.º 1
0
        void SendBalance(Agent agent, UUID transactionID, string message)
        {
            MoneyBalanceReplyPacket reply = new MoneyBalanceReplyPacket();
            reply.MoneyData.AgentID = agent.AgentID;
            reply.MoneyData.MoneyBalance = agent.Balance;
            reply.MoneyData.TransactionID = transactionID;
            reply.MoneyData.Description = Utils.StringToBytes(message);

            agent.SendPacket(reply);
        }
Ejemplo n.º 2
0
        void SendBalance(Agent agent, UUID transactionID, string message)
        {
            MoneyBalanceReplyPacket reply = new MoneyBalanceReplyPacket();

            reply.MoneyData.AgentID       = agent.AgentID;
            reply.MoneyData.MoneyBalance  = agent.Balance;
            reply.MoneyData.TransactionID = transactionID;
            reply.MoneyData.Description   = Utils.StringToBytes(message);

            server.UDP.SendPacket(agent.AgentID, reply, PacketCategory.Transaction);
        }