CandideServer.ServerManagers.FavourServerManager
Type JSONpublic class in CandideServer.ServerManagers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerManagers - Base type
System.Object - Hash
23285C7D4AC9C28550C2E2575165F37CFF5A3B5C954B8DAC47977E1F3CB6BE16
Relationships
Base type
System.Object
Methods
ApplyFavourFlag
#
public System.Void ApplyFavourFlag(CandideServer.Models.Player.ServerPlayerCharacter character, Shared.Data.FavourData favour)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
09F014C15E7634D2057A97EDEDAEFB6203E5D2A9B2F8B4E7C7846680595D81E6 - Body hash
6290A703261F3AE24DA113638E8336731BAC0B6B84AB9658E36373043641024D - IL size79
Referenced calls
System.String::IsNullOrEmpty(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Player.CharacterFlag>::set_Item(!0, !1)
OnFavoursChanged
#
private System.Void OnFavoursChanged(Shared.Entity.EntityWrapper entity, Shared.Models.Player.PlayerCharacterModel character)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
3D59F0B47C154E055D2D1F8184F32001F57148DDA66244BCF8092AEB9E7750C9 - Body hash
EEB3C6BEE6FC86E07D51FBF7424F6A25713E7DF757B6857ED18A87FC43DAAE1A - IL size70
Referenced calls
Shared.Entity.SharedEntityAuraManager::CalculateState(Shared.Entity.EntityWrapper)CandideServer.ServerGameState::TryGetInventory(System.Guid, Shared.Models.Items.SharedInventoryModel&)Shared.Inventory.DeltaModels.InventoryHelper::SlotsFilterEquipment_SetSpecialPlayerFlags(Shared.Models.Player.PlayerCharacterModel, Shared.Models.Items.SharedInventoryModel, Shared.Models.Items.SharedInventoryModel)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
String literals
ApplyFavourFlag: Failed retrieving equipment and secondary equipment for player
TryUnlockFavour
#
public System.Boolean TryUnlockFavour(System.Guid playerCharacterId, System.String id, CandideServer.SyncStrategies.SyncStrategy syncStrategy)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
2398B22D1ED786EBC329A869D0052486AC1CB0B4A920186FA2636F0F698AA50C - Body hash
C6D2C2A9A0A0182C1ADA5B0090B92704BF8D1A7F9BF6B4368F3225C00FE8FF0A - IL size1510
Referenced calls
CandideServer.ServerGameState::TryGetPlayerCharacter(System.Guid, CandideServer.Models.Player.ServerPlayerCharacter&)Shared.Data.FavourDataBase::TryGetFavour(System.String, Shared.Data.FavourData&)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.Dictionary<System.String, System.Int32>::ContainsKey(!0)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)System.String::Concat(System.String, System.String, System.String)Shared.Analytics.AnalyticsManager::TrackError(System.String)System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Count()Shared.Models.Skill.Skills::.ctor()System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()Dictionary.Enumerator<System.String, System.Int32>::get_Current()System.Collections.Generic.KeyValuePair<System.String, System.Int32>::Deconstruct(!0&, !1&)Dictionary.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.String, Shared.Models.Skill.CharacterSkill>::GetEnumerator()Dictionary.Enumerator<System.String, Shared.Models.Skill.CharacterSkill>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Skill.CharacterSkill>::Deconstruct(!0&, !1&)System.Collections.Generic.Dictionary<System.String, Shared.Models.Skill.CharacterSkill>::set_Item(!0, !1)Dictionary.Enumerator<System.String, Shared.Models.Skill.CharacterSkill>::MoveNext()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Exception::get_Message()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Collections.Generic.Dictionary<System.String, Shared.Models.Skill.CharacterSkill>::get_Count()System.Collections.Generic.Dictionary<System.Int32, CandideServer.ServerServices.ServerJoinedPlayerModel>::get_Count()CandideServer.ServerGameState::GetWorldPlayTimeHours()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0, System.String)Microsoft.Xna.Framework.GameTime::get_TotalGameTime()System.TimeSpan::get_TotalHours()System.Globalization.CultureInfo::get_CurrentCulture()
String literals
TryUnlockFavour: Player's current favour points are bellow 0FavourServerManager: Favourwas less or equal to 0FavourServerManager: Tried to increase favour rank beyond max rankTryUnlockFavour Crashed but recreating the dictionary worked.Current Favour Points:FavourLevel :TotalExperience:CharacterSkills.Count:Favours.Count:Player Count:World Played Time:F2(hours) Server Up Time:(hours) Debug: () Modded:
UnlearnAllFavours
#
public System.Void UnlearnAllFavours(CandideServer.Models.Player.ServerPlayerCharacter currentPlayerCharacter)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
272CE55011D7AE91D35F9BBFE7D77C26EFEBC80D68EC3144EC2B759F4ACBF576 - Body hash
1F69F99F0979C432F5588C3C867F7955302AF29C7FB4E00CA32AAC058EA7AACB - IL size382
Referenced calls
CandideServer.ServerGameState::TryGetServerEntity(System.Guid, CandideServer.Entities.ServerEntityModel&, System.String)System.Collections.Generic.List<System.String>::.ctor()System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()Dictionary.Enumerator<System.String, System.Int32>::get_Current()System.Collections.Generic.KeyValuePair<System.String, System.Int32>::Deconstruct(!0&, !1&)Shared.Data.FavourDataBase::TryGetFavour(System.String, Shared.Data.FavourData&)System.String::IsNullOrEmpty(System.String)Shared.Data.AuraDataBase::GetAuraOrNull(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.ServerManagers.AuraServerManager::RemoveAuraFromEntity(System.String, System.String, CandideServer.Entities.ServerEntityModel, CandideServer.SyncStrategies.SyncStrategy)System.Collections.Generic.Dictionary<System.String, Shared.Models.Player.CharacterFlag>::Remove(!0)System.Collections.Generic.List<System.String>::Add(!0)Dictionary.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<System.String>::GetEnumerator()List.Enumerator<System.String>::get_Current()System.Collections.Generic.Dictionary<System.String, System.Int32>::Remove(!0)List.Enumerator<System.String>::MoveNext()CandideServer.ServerManagers.FavourServerManager::OnFavoursChanged(Shared.Entity.EntityWrapper, Shared.Models.Player.PlayerCharacterModel)CandideServer.MessageModels.Favour.RemoveFavoursMessage::.ctor()CandideServer.ServerServices.FavourServerService::Send_RemoveFavours(CandideServer.MessageModels.Favour.RemoveFavoursMessage, CandideServer.SyncStrategies.SyncStrategy)
Called by
String literals
UnlearnAllFavoursUnlearnAllFavours: Couldn't find aura with ID