Skip to content

OnEntityReskinned

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnEntityReskinned( BaseEntity baseEntity, Skin skin, BasePlayer player )
{
    Puts( "OnEntityReskinned works!" );
}

Location

  • SprayCan::ChangeItemSkin(BaseEntity/RPCMessage msg)
csharp
//---
					}
					baseEntity.SetSlots(slots);
				}
				Pool.FreeUnmanaged<SprayCan.ChildPreserveInfo>(ref list);
			}
			Interface.CallHook("OnEntityReskinned", baseEntity, skin, msg.player);
			base.ClientRPC<int, NetworkableId>(RpcTarget.NetworkGroup("Client_ReskinResult"), 1, baseEntity.net.ID);
		}
	}
	this.LoseCondition(this.ConditionLossPerReskin);
	base.ClientRPC<int>(RpcTarget.NetworkGroup("Client_ChangeSprayColour"), -1);
//---

Released under the MIT License.