Skip to content

CanBeAwardedAdventGift ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void CanBeAwardedAdventGift(  )
{
    Puts( "CanBeAwardedAdventGift works!" );
}

Location ​

  • AdventCalendar::WasAwardedTodaysGift(BasePlayer player)
csharp
public bool WasAwardedTodaysGift(BasePlayer player)
{
	object OxideGen_2 = Interface.CallHook("CanBeAwardedAdventGift", this, player);
	if (OxideGen_2 is bool)
	{
		return !(bool)OxideGen_2;
	}
	if (!AdventCalendar.playerRewardHistory.ContainsKey(player.userID))
//---

Released under the MIT License.