RimWorld

RimWorld

Pawn quick info
This topic has been locked
Aden 11 Mar, 2024 @ 11:52pm
Some problem with Elite Bionic Framwork bc it violate rule from that mod???
Logs:

[V1024-EBF] Elite Bionics Framework has detected some mods using the unmodified GetMaxHealth() method, which violates the EBF protocol. The author(s) of the involved mod(s) should adopt the EBF to clarify their intentions.
For now, the unmodified max HP is returned.
The detected mod comes from: PawnQuickInfo
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
EBF.EliteBionicsFrameworkMain:LogError (string)
EBF.Patches.Prefix_BodyPart_GetMaxHealth:PreFix (Verse.BodyPartDef,single,Verse.Pawn)
(wrapper dynamic-method) Verse.BodyPartDef:Verse.BodyPartDef.GetMaxHealth_Patch2 (Verse.BodyPartDef,Verse.Pawn)
PawnQuickInfo.Patches:_GetPartConditionLabel (Verse.Pawn,Verse.BodyPartRecord,int&,bool)
PawnQuickInfo.Patches:DrawBodyPart (UnityEngine.Rect,Verse.Pawn,Verse.BodyPartRecord,UnityEngine.Texture,bool,bool,Verse.BodyPartRecord,UnityEngine.Texture,UnityEngine.Texture,bool)
PawnQuickInfo.Patches:DrawDoll (UnityEngine.Rect,Verse.Pawn)
PawnQuickInfo.Patches:DrawPawnHealthInfo (Verse.Pawn,UnityEngine.Rect)
PawnQuickInfo.Patches/<>c__DisplayClass66_0:<DrawPawnTooltip>b__0 ()
Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)