invertika_game.Game.GameHandler.handleLowerAttribute C# (CSharp) Method

handleLowerAttribute() private method

private handleLowerAttribute ( GameClient client, ISL.Server.Network.MessageIn message ) : void
client GameClient
message ISL.Server.Network.MessageIn
return void
        void handleLowerAttribute(GameClient client, MessageIn message)
        {
            //const int attribute = message.readInt32();
            //AttribmodResponseCode retCode;
            //retCode = client.character.useCorrectionPoint(attribute);

            //MessageOut result(GPMSG_LOWER_ATTRIBUTE_RESPONSE);
            //result.writeInt8(retCode);
            //result.writeInt32(attribute);
            //client.send(result);

            //if (retCode == ATTRIBMOD_OK)
            //{
            //    accountHandler.updateCharacterPoints(
            //        client.character.getDatabaseID(),
            //        client.character.getCharacterPoints(),
            //        client.character.getCorrectionPoints());

            //    // log transaction
            //    std::stringstream str;
            //    str << "User decreased attribute " << attribute;
            //    accountHandler.sendTransaction(client.character.getDatabaseID(),
            //                                    TRANS_ATTR_DECREASE, str.str());
            //}
        }