C# Class WowPacketParser.Enums.Version.Opcodes

ファイルを表示 Open project: TrinityCore/WowPacketParser

Public Methods

Method Description
GetOpcode ( int opcodeId, Direction direction ) : Opcode
GetOpcode ( Opcode opcodeId, Direction direction ) : int
GetOpcodeDictionary ( ClientVersionBuild build, Direction direction ) : int>.BiDictionary
GetOpcodeName ( int opcodeId, Direction direction, bool hex = true ) : string
InitializeOpcodeDictionary ( ) : void

Private Methods

Method Description
InitializeOpcodeNameDictionary ( ) : void

Method Details

GetOpcode() public static method

public static GetOpcode ( int opcodeId, Direction direction ) : Opcode
opcodeId int
direction Direction
return Opcode

GetOpcode() public static method

public static GetOpcode ( Opcode opcodeId, Direction direction ) : int
opcodeId Opcode
direction Direction
return int

GetOpcodeDictionary() public static method

public static GetOpcodeDictionary ( ClientVersionBuild build, Direction direction ) : int>.BiDictionary
build ClientVersionBuild
direction Direction
return int>.BiDictionary

GetOpcodeName() public static method

public static GetOpcodeName ( int opcodeId, Direction direction, bool hex = true ) : string
opcodeId int
direction Direction
hex bool
return string

InitializeOpcodeDictionary() public static method

public static InitializeOpcodeDictionary ( ) : void
return void