Documentation ¶
Index ¶
- Constants
- type Attribute
- type Bag
- type BoatLookSub
- type CharacterAppendLook
- type CharacterAttibutes
- type CharacterBags
- type CharacterInfo
- type CharacterLookSub
- type CharacterSkillStates
- type CharacterSkills
- type CharacterSub
- type EntityEvent
- type InstAttribute
- type Item
- type NetworkError
- type Shortcut
- type Skill
- type SkillState
Constants ¶
View Source
const ( OP_CLIENT_CHARTRADE_ITEM = 316 OP_CLIENT_ITEM_LOTTERY_ASR = 96 OP_CLIENT_ENDACTION = 7 OP_SERVER_CREATE_PASSWORD2 = 941 OP_CLIENT_GUILD_TRYFOR = 402 OP_SERVER_ITEM_FORGE_ASK = 548 OP_CLIENT_REQUESTTRADE = 308 OP_CLIENT_DELCHA = 436 OP_PC_FRND_REFRESH = 5012 OP_SERVER_POPUP_NOTICE = 568 OP_PT_BASE = 2500 OP_CLIENT_TIGER_STOP = 28 OP_SERVER_CLOSETALK = 803 OP_SERVER_GUILD_LEAVE = 911 OP_SO_BASE = 7000 OP_SERVER_CHARTRADE_RESULT = 818 OP_CLIENT_GARNER2_REORDER = 371 OP_CP_REPORT_WG = 6026 OP_CP_SAY2YOU = 6403 OP_CLIENT_STORE_AFFICHE = 47 OP_SERVER_PING = 515 OP_CP_TEAM_INVITE = 6001 OP_CP_FRND_ADD_GROUP = 6019 OP_SERVER_MISSIONTALK = 824 OP_CP_GM1SAY = 6400 OP_SERVER_CALL_CHA = 528 OP_CP_SESS_CREATE = 6406 OP_CLIENT_REQUESTAGENCY = 310 OP_CP_REFUSETOME = 6410 OP_SERVER_UPDATEBOAT = 839 OP_AP_USER_LOGIN = 3503 OP_CLIENT_KITBAG_LOCK = 31 OP_SERVER_MISLOG_CLEAR = 831 OP_SERVER_SYNSKILLBAG = 510 OP_CP_PING = 6025 OP_CLIENT_CHARTRADE_MONEY = 319 OP_SERVER_ITEM_USE_SUC = 550 OP_CLIENT_REFRESH_DATA = 16 OP_CLIENT_STORE_OPEN_ASK = 41 OP_SERVER_TEAM = 519 OP_SERVER_BLACKMARKET_EXCHANGEUPDATE = 573 OP_AP_EXPSCALE = 3514 OP_SERVER_ITEM_AMPHITHEATER_ASR = 606 OP_CLIENT_CHARTRADE_ACCEPT = 313 OP_AP_BASE = 3500 OP_SERVER_QUERY_RELIVE = 535 OP_SERVER_VOLUNTER_OPEN = 584 OP_CLIENT_ANTIINDULGENCE = 372 OP_SERVER_STORE_AFFICHE = 567 OP_CLIENT_MISLOG = 325 OP_SERVER_ITEMENDSEE = 507 OP_SERVER_CHARTRADE_REQUEST = 812 OP_CLIENT_STALL_ALLDATA = 330 OP_PC_QUERY_PERSONINFO = 5021 OP_CLIENT_BEGINACTION = 6 OP_SERVER_UPDATEHAIR_RES = 540 OP_SERVER_MISLOG_ADD = 832 OP_SERVER_STALL_ALLDATA = 854 OP_PC_MASTER_REFRESH_INFO = 5043 OP_PC_SAY2TEM = 5404 OP_CLIENT_TIGER_START = 27 OP_CP_SAY2GUD = 6405 OP_SERVER_GUILD_KICK = 912 OP_SERVER_GUILD_INFO = 913 OP_SERVER_CHABEGINSEE = 504 OP_SERVER_GM_MAIL = 597 OP_SERVER_TEAM_FIGHT_ASK = 543 OP_CLIENT_TEAM_FIGHT_ASR = 22 OP_CLIENT_STORE_VIP = 46 OP_PC_GUILD = 5030 OP_SERVER_PRENTICE_ASK = 592 OP_SERVER_CHECK_PING = 537 OP_CLIENT_MISSIONLIST = 323 OP_SERVER_ALARM = 518 OP_SERVER_LIFESKILL_ASR = 601 OP_SERVER_GUILD_GETNAME = 901 OP_SERVER_KICK_CHA = 530 OP_PC_FRND_MOVE_GROUP = 5015 OP_SERVER_TLEADER_ID = 524 OP_CLIENT_VOLUNTER_OPEN = 65 OP_CP_CHANGE_PERSONINFO = 6017 OP_SERVER_LIFESKILL_ASK = 602 OP_PC_FRND_CANCEL = 5013 OP_SERVER_ITEM_REPAIR_ASK = 544 OP_CLIENT_BOAT_LUANCH = 341 OP_CLIENT_STORE_LIST_ASK = 42 OP_CLIENT_CHECK_PING = 17 OP_CP_FRND_REFUSE = 6013 OP_AP_USER_LOGIN1 = 3512 OP_SERVER_CHARTRADE = 811 OP_SERVER_STORE_LIST_ASR = 562 OP_SERVER_LIFESKILL_BGING = 600 OP_CLIENT_STALL_CLOSE = 333 OP_CLIENT_STALL_OPEN = 331 OP_SERVER_CHARTRADE_PAGE = 815 OP_CLIENT_PRENTICE_INVITE = 75 OP_CP_PRENTICE_REFRESH_INFO = 6032 OP_CP_BASE = 6000 OP_SERVER_TRIGGER_ACTION = 826 OP_CLIENT_CHARBASE = 430 OP_SERVER_BEGIN_GET_STONE = 872 OP_SERVER_NPCSTATECHG = 825 OP_SERVER_STARTEXIT = 937 OP_CP_FRND_CHANGE_GROUP = 6020 OP_CLIENT_CHARTRADE_REJECT = 314 OP_CLIENT_CREATE_BOAT = 338 OP_PC_TEAM_INVITE = 5001 OP_TM_BASE = 1000 OP_SERVER_ENTERMAP = 516 OP_PC_SESS_ADD = 5408 OP_CLIENT_PING = 15 OP_CLIENT_BGNPLAY = 433 OP_SERVER_UPDATE_PASSWORD2 = 942 OP_SERVER_CHARTRADE_VALIDATEDATA = 816 OP_CLIENT_SAY = 1 OP_PC_MASTER_REFRESH = 5041 OP_CLIENT_FORGE = 335 OP_SERVER_BEGIN_ITEM_UNITE = 836 OP_CLIENT_BOAT_BAGSEL = 342 OP_SERVER_BEGIN_ITEM_UPGRADE = 834 OP_SERVER_MAPCRASH = 503 OP_PC_SAY2YOU = 5403 OP_SERVER_MISLOG_CHANGE = 830 OP_CLIENT_DIE_RETURN = 10 OP_SERVER_BLACKMARKET_EXCHANGE_ASR = 572 OP_CLIENT_LIFESKILL_ASR = 80 OP_CLIENT_CANCELEXIT = 437 OP_SERVER_ESPE_ITEM = 552 OP_SERVER_STALL_UPDATE = 855 OP_SERVER_BOAT_BAGLIST = 846 OP_SERVER_STORE_VIP = 566 OP_SERVER_STALL_CLOSE = 857 OP_SERVER_MASTER_ASK = 591 OP_CLIENT_GUILD_REJECT = 406 OP_SERVER_CHARTRADE_ITEM = 814 OP_CLIENT_STORE_BUY_ASK = 43 OP_SERVER_CHAENDSEE = 505 OP_CLIENT_CHARTRADE_VALIDATE = 318 OP_AP_KICKUSER = 3511 OP_CLIENT_GUILD_CHALLENGE = 411 OP_SERVER_VOLUNTER_SEL = 583 OP_SERVER_TRADEPAGE = 805 OP_SERVER_EVENT_INFO = 541 OP_TP_BASE = 2000 OP_CLIENT_FUNCITEM = 303 OP_CLIENT_LOGOUT = 432 OP_SERVER_CHA_EMOTION = 525 OP_CLIENT_MAP_MASK = 18 OP_SERVER_TIGER_ITEM_ID = 874 OP_CP_TEAM_LEAVE = 6004 OP_SERVER_CHARTRADE_VALIDATE = 817 OP_CP_SAY2TRADE = 6401 OP_CLIENT_STORE_QUERY = 45 OP_CLIENT_MASTER_DEL = 73 OP_PC_TEAM_REFRESH = 5002 OP_CLIENT_GUILD_DISBAND = 409 OP_PC_FRND_CHANGE_GROUP = 5020 OP_SERVER_SIDE_INFO = 542 OP_SERVER_BEGIN_GM_SEND = 877 OP_SERVER_GUILD_LISTTRYPLAYER = 904 OP_SERVER_ADD_ITEM_CHA = 532 OP_CLIENT_GM_RECV = 93 OP_CP_TEAM_REFUSE = 6003 OP_CLIENT_BOAT_SELECT = 343 OP_SERVER_GULDBASE = 900 OP_SERVER_MAP_MASK = 538 OP_CP_QUERY_PERSONINFO = 6021 OP_SERVER_BEGIN_ITEM_EIDOLON_METEMPSYCHOSIS = 847 OP_CLIENT_TRADEITEM = 309 OP_SERVER_FUNCPAGE = 802 OP_PC_SAY2ALL = 5402 OP_SERVER_APPEND_LOOK = 547 OP_SERVER_BOAT_LIST = 842 OP_CLIENT_NEWCHA = 435 OP_CLIENT_VOLUNTER_LIST = 61 OP_SERVER_SYSINFO = 517 OP_AP_RELOGIN = 3504 OP_SERVER_BEGIN_ITEM_ENERGY = 871 OP_CLIENT_KITBAG_UNLOCK = 32 OP_SERVER_MISPAGE = 827 OP_CLIENT_BIDUP = 86 OP_SERVER_BICKER_NOTICE = 860 OP_PC_BASE = 5000 OP_CLIENT_SYNSKILLBAG = 9 OP_SERVER_LISTGUILD = 902 OP_SERVER_CHAPSTR = 940 OP_PC_SAY2TRADE = 5401 OP_CLIENT_GUILD_KICK = 407 OP_SERVER_ITEMBEGINSEE = 506 OP_PC_GM1SAY1 = 5411 OP_SERVER_VOLUNTER_LIST = 581 OP_SERVER_SAY2CAMP = 596 OP_CLIENT_BASE = 0 OP_CLIENT_MISLOGINFO = 326 OP_SERVER_STORE_BUY_ASR = 563 OP_PC_SESS_CREATE = 5406 OP_SERVER_ITEM_FORGE_ASR = 549 OP_SERVER_KITBAGTEMP_SYNC = 554 OP_SERVER_MISSIONLIST = 823 OP_SERVER_NOTIACTION = 508 OP_MT_BASE = 1500 OP_MP_BASE = 5500 OP_CLIENT_MISSION = 322 OP_CLIENT_MISLOG_CLEAR = 327 OP_SERVER_LOGIN = 931 OP_SERVER_BEGIN_TIGER = 873 OP_SERVER_QUERY_CHAITEM = 527 OP_CLIENT_TEAM_FIGHT_ASK = 21 OP_CLIENT_PK_CTRL = 94 OP_CLIENT_ENDPLAY = 434 OP_CLIENT_CREATE_PASSWORD2 = 346 OP_AP_LOGIN = 3502 OP_SERVER_BOATINFO = 845 OP_SERVER_PREMOVE_TIME = 536 OP_CLIENT_PRENTICE_DEL = 74 OP_CLIENT_UPDATEHAIR = 20 OP_SERVER_TRADE_ALLDATA = 808 OP_SERVER_SAY = 501 OP_CLIENT_ITEM_FORGE_ASR = 26 OP_SERVER_SYNATTR = 509 OP_SERVER_OPENHAIR = 539 OP_PC_GUILD_CANCEL = 5033 OP_SERVER_ASTATEENDSEE = 523 OP_CLIENT_GUILD_LISTTRYPLAYER = 404 OP_CP_SAY2TEM = 6404 OP_CP_GM1SAY1 = 6411 OP_PC_MASTER_CANCEL = 5042 OP_CLIENT_READBOOK_CLOSE = 349 OP_SERVER_CAPTAIN_ASK = 605 OP_SERVER_TRADERESULT = 806 OP_SERVER_BLACKMARKET_EXCHANGEDATA = 571 OP_SERVER_EXCHANGE_UPDATE = 810 OP_CLIENT_GULDBASE = 400 OP_SERVER_EXCHANGEDATA = 575 OP_SERVER_CREATEBOAT = 838 OP_SERVER_CHAPLAYEFFECT = 593 OP_CLIENT_ITEM_FORGE_CANACTION = 29 OP_SERVER_TALKPAGE = 801 OP_CP_FRND_REFRESH_INFO = 6016 OP_PC_SESS_LEAVE = 5409 OP_CP_FRND_MOVE_GROUP = 6015 OP_PC_PING = 5025 OP_SERVER_FAILEDACTION = 520 OP_CLIENT_GUILD_LEIZHU = 412 OP_PM_BASE = 4500 OP_CLIENT_ITEM_LOCK_ASR = 599 OP_CLIENT_READBOOK_START = 348 OP_SERVER_MISLOG = 828 OP_SERVER_BASE = 500 OP_CLIENT_GUILD_APPROVE = 405 OP_SERVER_ENTITY_ENDSEE = 851 OP_CLIENT_MASTER_ASR = 72 OP_SERVER_BGNPLAY = 933 OP_SERVER_CHEAT_CHECK = 598 OP_CLIENT_VOLUNTER_ASR = 66 OP_CLIENT_KITBAGTEMP_SYNC = 35 OP_CLIENT_BLACKMARKET_EXCHANGE_REQ = 51 OP_CLIENT_UPDATEBOAT_PART = 339 OP_SERVER_STALL_NAME = 859 OP_SERVER_LOGOUT = 932 OP_SERVER_VOLUNTER_STATE = 582 OP_CLIENT_VOLUNTER_SEL = 64 OP_CP_MASTER_REFRESH_INFO = 6031 OP_SERVER_LISTAUCTION = 586 OP_SERVER_ITEM_REPAIR_ASR = 545 OP_CLIENT_BOAT_GETINFO = 344 OP_SERVER_BEGIN_ITEM_FORGE = 835 OP_SERVER_CHARBASE = 930 OP_CLIENT_CAPTAIN_CONFIRM_ASR = 97 OP_PC_SESS_SAY = 5407 OP_SERVER_VOLUNTER_ASK = 585 OP_CP_SESS_SAY = 6407 OP_PC_TEAM_CANCEL = 5003 OP_SERVER_ASTATEBEGINSEE = 522 OP_CLIENT_STORE_CLOSE = 48 OP_CLIENT_ITEM_LOTTERY_ASK = 95 OP_CLIENT_ITEM_LOCK_ASK = 99 OP_CLIENT_GM_SEND = 92 OP_SERVER_KITBAG_CAPACITY = 551 OP_CLIENT_SYNATTR = 8 OP_CLIENT_LOGIN = 431 OP_SERVER_BEGIN_ITEM_PURIFY = 849 OP_CLIENT_ITEM_REPAIR_ASR = 24 OP_SERVER_BERTH_LIST = 841 OP_CLIENT_ITEM_AMPHITHEATER_ASK = 98 OP_CLIENT_UPDATE_PASSWORD2 = 347 OP_SERVER_BEGIN_ITEM_LOTTERY = 879 OP_SERVER_CHARTRADE_MONEY = 819 OP_CP_TEAM_ACCEPT = 6002 OP_PC_CHANGE_PERSONINFO = 5017 OP_SERVER_BEGIN_ITEM_AMPHITHEATER = 880 OP_SERVER_STALL_DELGOODS = 856 OP_CLIENT_PRENTICE_ASR = 76 OP_CLIENT_ENTITY_EVENT = 345 OP_SERVER_QUERY_CHAPING = 534 OP_CLIENT_CHARTRADE_VALIDATEDATA = 317 OP_SERVER_GUILD_MOTTO = 910 OP_CLIENT_STALL_BUY = 332 OP_SERVER_STORE_QUERY = 565 OP_CLIENT_REQUESTTALK = 301 OP_CLIENT_GUILD_LEAVE = 408 OP_SERVER_BEGIN_GM_RECV = 878 OP_PC_FRND_DEL_GROUP = 5018 OP_PC_GM1SAY = 5400 OP_SERVER_KITBAG_CHECK_ASR = 553 OP_SERVER_ITEM_LOTTERY_ASR = 604 OP_CLIENT_ITEM_FORGE_ASK = 25 OP_PC_FRND_ADD_GROUP = 5019 OP_SERVER_CANCELEXIT = 938 OP_SERVER_BLACKMARKET_TRADEUPDATE = 574 OP_SERVER_GUILD_LISTCHALL = 905 OP_SERVER_GOTO_CHA = 529 OP_SERVER_QUERY_CHA = 526 OP_CLIENT_LIFESKILL_ASK = 81 OP_SERVER_STORE_OPEN_ASR = 561 OP_PC_GARNER2_ORDER = 5101 OP_PC_SAY2GUD = 5405 OP_SERVER_ITEM_LOTTERY_ASK = 603 OP_CLIENT_ITEM_REPAIR_ASK = 23 OP_CP_SAY2ALL = 6402 OP_SERVER_ENTITY_CHGSTATE = 852 OP_SERVER_BEGIN_ITEM_REPAIR = 546 OP_CP_FRND_ACCEPT = 6012 OP_SERVER_BEGIN_ITEM_FUSION = 833 OP_SERVER_STORE_CHANGE_ASR = 564 OP_CP_FRND_INVITE = 6011 OP_CP_FRND_DELETE = 6014 OP_PC_FRND_REFRESH_INFO = 5016 OP_CLIENT_GUILD_TRYFORCFM = 403 OP_SERVER_MISLOGINFO = 829 OP_SERVER_DEL_ITEM_CHA = 533 OP_CLIENT_GUILD_MOTTO = 410 OP_SERVER_BEGIN_ITEM_FIX = 876 OP_OS_BASE = 6500 OP_CP_TEAM_KICK = 6005 OP_SERVER_CHARTRADE_CANCEL = 813 OP_PC_FRND_INVITE = 5011 OP_SERVER_TIGER_STOP = 875 OP_SERVER_BEGIN_ITEM_EIDOLON_FUSION = 848 OP_CLIENT_MASTER_INVITE = 71 OP_MM_BASE = 4000 OP_CLIENT_VOLUNTER_ADD = 62 OP_CP_SESS_LEAVE = 6409 OP_SERVER_TRADE_DATA = 807 OP_SERVER_ENDPLAY = 934 OP_AP_USER_LOGIN2 = 3513 OP_SERVER_NEWCHA = 935 OP_SERVER_ENTITY_BEGINESEE = 850 OP_CLIENT_TALKPAGE = 302 OP_SERVER_GUILD_TRYFORCFM = 903 OP_SERVER_ROLEBASE = 800 OP_CLIENT_ROLEBASE = 300 OP_CLIENT_STORE_CHANGE_ASK = 44 OP_CLIENT_GUILD_PUTNAME = 401 OP_CLIENT_KITBAG_CHECK = 33 OP_SERVER_TRADE_UPDATE = 809 OP_SERVER_STALL_START = 858 OP_CLIENT_CHARTRADE_CANCEL = 315 OP_CLIENT_KITBAG_AUTOLOCK = 34 OP_PC_PRENTICE_REFRESH_INFO = 5044 OP_PC_GUILD_INVITE = 5031 OP_SERVER_MISSION = 822 OP_CP_FRND_DEL_GROUP = 6018 OP_SERVER_UPDATEBOAT_PART = 840 OP_SERVER_BOAT_CLEAR = 844 OP_SERVER_SYNASKILLSTATE = 511 OP_CLIENT_VOLUNTER_DEL = 63 OP_PA_BASE = 3000 OP_CLIENT_BOAT_CANCEL = 340 OP_SERVER_HELPINFO = 804 OP_CLIENT_SAY2CAMP = 91 OP_CLIENT_MISSIONTALK = 324 OP_SERVER_BOAT_ADD = 843 OP_SERVER_SYNDEFAULTSKILL = 531 OP_CP_SESS_ADD = 6408 OP_SERVER_DELCHA = 936 OP_SERVER_MESSAGE = 521 OP_CLIENT_CHARTRADE_REQUEST = 312 OP_CLIENT_CHEAT_CHECK = 52 OP_CLIENT_SKILLUPGRADE = 11 OP_SERVER_BEGIN_ITEM_MILLING = 837 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoatLookSub ¶
type CharacterAppendLook ¶
type CharacterAttibutes ¶
type CharacterBags ¶
type CharacterInfo ¶
type CharacterInfo struct { WorldID uint32 CharCId uint32 CharMId uint32 CharCName string Unknown uint16 GmLv uint8 Handle uint16 CtrlType uint8 CharMName string MottoName string Icon uint16 Unknown2 uint16 GuildID uint16 GuildName string GuildMotto string StallName string State uint16 PosX uint32 PosY uint32 PosRadius uint32 PosAngle uint16 TeamLeadID uint32 }
type CharacterLookSub ¶
func (*CharacterLookSub) Read ¶
func (c *CharacterLookSub) Read(pr *barrel.Processor)
func (*CharacterLookSub) Write ¶
func (c *CharacterLookSub) Write(pr *barrel.Processor)
type CharacterSkillStates ¶
type CharacterSkillStates struct { Num uint8 States []SkillState }
type CharacterSkills ¶
type CharacterSub ¶
type CharacterSub struct { Flag uint8 Name string Job string Level uint16 Look CharacterLookSub }
func (*CharacterSub) SetFlag ¶
func (c *CharacterSub) SetFlag(flag bool)
type EntityEvent ¶
type InstAttribute ¶
type NetworkError ¶
var ( PlayerIsNotFound NetworkError = NewNetworkError(1001, "Player is not found in store") PlayerInGame NetworkError = NewNetworkError(1104, "Player still in game") PasswordIncorrect NetworkError = NewNetworkError(1002, "Password is incorrect") ClientVersionMismatch NetworkError = NewNetworkError(7, "Version is mismatch") UnknownError NetworkError = NewNetworkError(1000, "Unknown error") SecretPasswordIncorrect NetworkError = NewNetworkError(534, "Secret password is incorrect") ExistCharName NetworkError = NewNetworkError(526, "Character name is exists") InvalidCharName NetworkError = NewNetworkError(531, "Invalid character name") InvalidBirthLocation NetworkError = NewNetworkError(527, "Map isn't exists") InternalError NetworkError = NewNetworkError(521, "Internal error") )
func NewNetworkError ¶
func NewNetworkError(id uint16, value string) NetworkError
func (NetworkError) Error ¶
func (n NetworkError) Error() string
func (NetworkError) GetID ¶
func (n NetworkError) GetID() uint16
type SkillState ¶
Click to show internal directories.
Click to hide internal directories.