Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Framework.Constants
|
||||
{
|
||||
public enum CharmType
|
||||
@@ -29,6 +31,13 @@ namespace Framework.Constants
|
||||
NotInSlot = -1, // for avoid conflict with stable size grow will use negative value
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum PetStableFlags
|
||||
{
|
||||
Active = 0x1,
|
||||
Inactive = 0x2
|
||||
}
|
||||
|
||||
public enum PetSpellState
|
||||
{
|
||||
Unchanged = 0,
|
||||
@@ -88,23 +97,6 @@ namespace Framework.Constants
|
||||
DeclensionDoesntMatchBaseName = 16
|
||||
}
|
||||
|
||||
public enum PetStableinfo : byte
|
||||
{
|
||||
Active = 1,
|
||||
Inactive = 2
|
||||
}
|
||||
|
||||
public enum StableResult
|
||||
{
|
||||
NotEnoughMoney = 1, // "you don't have enough money"
|
||||
InvalidSlot = 3, // "That slot is locked"
|
||||
StableSuccess = 8, // stable success
|
||||
UnstableSuccess = 9, // unstable/swap success
|
||||
BuySlotSuccess = 10, // buy slot success
|
||||
CantControlExotic = 11, // "you are unable to control exotic creatures"
|
||||
InternalError = 12, // "Internal pet error"
|
||||
}
|
||||
|
||||
public enum PetTameResult
|
||||
{
|
||||
Ok = 0,
|
||||
@@ -123,4 +115,15 @@ namespace Framework.Constants
|
||||
InvalidSlot = 13,
|
||||
EliteTooHighLevel = 14
|
||||
}
|
||||
|
||||
public enum StableResult
|
||||
{
|
||||
NotEnoughMoney = 1, // "you don't have enough money"
|
||||
InvalidSlot = 3, // "That slot is locked"
|
||||
StableSuccess = 8, // stable success
|
||||
UnstableSuccess = 9, // unstable/swap success
|
||||
BuySlotSuccess = 10, // buy slot success
|
||||
CantControlExotic = 11, // "you are unable to control exotic creatures"
|
||||
InternalError = 12, // "Internal pet error"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user