Skip to content
Filip Tomaszewski edited this page May 3, 2020 · 4 revisions

RTDPerkProp

Used to identify RTDPerk properties when getting or setting them. When using the RTDPerk class methods you don't need to use those.

enum RTDPerkProp{
	RTDPerk_Name = 0,
	RTDPerk_Good,
	RTDPerk_Sound,
	RTDPerk_Token,
	RTDPerk_Time,
	RTDPerk_Classes,
	RTDPerk_WeaponClasses,
	RTDPerk_Tags,
	RTDPerk_InternalCall,
	RTDPerk_Enabled,
	RTDPerk_External
}

RTDRemoveReason

Used for providing a reason when forcefully removing a perk. RTD will then assign a translation phrase for that reason, unless it's RTDRemove_Custom - only then will the custom message be printed.

enum RTDRemoveReason{
	RTDRemove_PluginUnload = 0,
	RTDRemove_Death,
	RTDRemove_ClassChange,
	RTDRemove_WearOff,
	RTDRemove_Disconnect,
	RTDRemove_Custom,
	RTDRemove_NoPrint
}

RTDForceResult

Return value type for forcing perk natives. RTDForce_Blocked means the force has been blocked externally, via other plugin.

enum RTDForceResult{
	RTDForce_Success = 0,
	RTDForce_NullPerk,
	RTDForce_ClientDead,
	RTDForce_ClientInRoll,
	RTDForce_ClientInvalid,
	RTDForce_Blocked
}