OnBuildingPrivilege
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnBuildingPrivilege( BaseEntity instance, OBB obb )
{
Puts( "OnBuildingPrivilege works!" );
}
Location
- BaseEntity::GetBuildingPrivilege(OBB obb)
csharp
public BuildingPrivlidge GetBuildingPrivilege(OBB obb)
{
object returnvar = Interface.CallHook("OnBuildingPrivilege", this, obb);
if (returnvar is BuildingPrivlidge)
{
return (BuildingPrivlidge)returnvar;
}
BuildingBlock other = null;
//---