public AliasManager() { _clientAlises = new List <Alias>(); Events.OnEntityStreamIn += OnPlayerStreamIn; Events.OnEntityStreamOut += OnPlayerStreamOut; Events.Tick += Tick; Events.Add(Shared.Events.ServerToClient.Character.SetAliasInfo, OnSetAliasInfo); }
public CharCreator() { _camera = new CamHandler(); // TEMP commands Events.Add("createchar", OnInitCharCreation); // Server Events Events.Add(Shared.Events.ServerToClient.Character.StartCustomization, OnStartCustomization); Events.Add(Shared.Events.ServerToClient.Character.ResetCharCreation, ResetCharCreation); Events.Add(Shared.Events.ServerToClient.Character.DisplayCharError, DisplayError); Events.Add(Shared.Events.ServerToClient.Character.SuccessCharCreation, OnSuccessCharCreation); // CEF Events.Add("SubmitInitialCharData", SubmitInitialCharData); // Step 1 Events.Add("UpdateHeadOverlay", OnUpdateHeadOverlay); // Step 2 Events.Add("UpdateFaceFeature", OnUpdateFaceFeature); // Step 3 Events.Add("UpdateExtras", OnUpdateExtras); // Step 4 Events.Add("UpdateHeadBlend", OnUpdateHeadBlend); // Step 5 Events.Add("SubmitNewCharacter", OnSubmitNewCharacter); // Step 5 Events.Add("SubmitCancel", OnQuitCharCreation); }