Romestead Assembly Reference

CandideServer.ServerManagers.FavourServerManager

Type JSON

public class in CandideServer.ServerManagers

Methods4
Properties0
Fields0
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • Hash23285C7D4AC9C28550C2E2575165F37CFF5A3B5C954B8DAC47977E1F3CB6BE16

Relationships

Base type

System.Object

Methods

ApplyFavourFlag

public System.Void ApplyFavourFlag(CandideServer.Models.Player.ServerPlayerCharacter character, Shared.Data.FavourData favour)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash09F014C15E7634D2057A97EDEDAEFB6203E5D2A9B2F8B4E7C7846680595D81E6
  • Body hash6290A703261F3AE24DA113638E8336731BAC0B6B84AB9658E36373043641024D
  • IL size79
Referenced calls
  • System.String::IsNullOrEmpty(System.String)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Player.CharacterFlag>::set_Item(!0, !1)
Called by

OnFavoursChanged

private System.Void OnFavoursChanged(Shared.Entity.EntityWrapper entity, Shared.Models.Player.PlayerCharacterModel character)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3D59F0B47C154E055D2D1F8184F32001F57148DDA66244BCF8092AEB9E7750C9
  • Body hashEEB3C6BEE6FC86E07D51FBF7424F6A25713E7DF757B6857ED18A87FC43DAAE1A
  • IL size70
Referenced calls
Called by
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 typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash2398B22D1ED786EBC329A869D0052486AC1CB0B4A920186FA2636F0F698AA50C
  • Body hashC6D2C2A9A0A0182C1ADA5B0090B92704BF8D1A7F9BF6B4368F3225C00FE8FF0A
  • 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()
Called by
String literals
  • TryUnlockFavour: Player's current favour points are bellow 0
  • FavourServerManager: Favour
  • was less or equal to 0
  • FavourServerManager: Tried to increase favour rank beyond max rank
  • TryUnlockFavour 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 typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash272CE55011D7AE91D35F9BBFE7D77C26EFEBC80D68EC3144EC2B759F4ACBF576
  • Body hash1F69F99F0979C432F5588C3C867F7955302AF29C7FB4E00CA32AAC058EA7AACB
  • IL size382
Referenced calls
Called by
String literals
  • UnlearnAllFavours
  • UnlearnAllFavours: Couldn't find aura with ID