-
-
Notifications
You must be signed in to change notification settings - Fork 66
Events and operations
Wiktor Mazur edited this page Mar 8, 2020
·
1 revision
Albion client receives information from server via via event codes and operations. To get full list of available events you need to decompile albiononline/game_x64/Albion-Online_Data/Managed/Albion.Common.dll file.
- Get visual studio code editor https://code.visualstudio.com/
- Install https://marketplace.visualstudio.com/items?itemName=SharpDevelopTeam.ILSpy extention.
- Pick
albiononline/game_x64/Albion-Online_Data/Managed/Albion.Common.dll - In the ILSPY DECOMPILED MEMBERS setion look for
Albion.Common.Photonmember - Look for available
EventCodesandOperationCodes
For example, from decompiled event codes we know that NewCharacter has code 24 (since it is on 24th position)
namespace Albion.Common.Photon
{
public enum EventCodes : short
{
Leave = 1,
JoinFinished,
Move,
Teleport,
ChangeEquipment,
HealthUpdate,
EnergyUpdate,
DamageShieldUpdate,
CraftingFocusUpdate,
ActiveSpellEffectsUpdate,
ResetCooldowns,
Attack,
CastStart,
CastCancel,
CastTimeUpdate,
CastFinished,
CastSpell,
CastHit,
CastHits,
ChannelingEnded,
AttackBuilding,
InventoryPutItem,
InventoryDeleteItem,
NewCharacter,
// Rest of fields omitted
}
}