Show / Hide Table of Contents

Class SharedWeaponModel

Class representing a weapon model

Inheritance
Object
SharedWeaponModel
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Shared.Weapons
Assembly: SlipeShared.dll
Syntax
public class SharedWeaponModel

Constructors

| Improve this Doc View Source

SharedWeaponModel(Int32)

Create a weaopn model from an ID

Declaration
public SharedWeaponModel(int id)
Parameters
Type Name Description
Int32 id
| Improve this Doc View Source

SharedWeaponModel(String)

Get a weapon model from the weapon name

Declaration
public SharedWeaponModel(string name)
Parameters
Type Name Description
String name

Properties

| Improve this Doc View Source

Ak47

Declaration
public static SharedWeaponModel Ak47 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Bat

Declaration
public static SharedWeaponModel Bat { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Bomb

Declaration
public static SharedWeaponModel Bomb { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Brassknuckle

Declaration
public static SharedWeaponModel Brassknuckle { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Camera

Declaration
public static SharedWeaponModel Camera { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Cane

Declaration
public static SharedWeaponModel Cane { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Chainsaw

Declaration
public static SharedWeaponModel Chainsaw { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Colt45

Declaration
public static SharedWeaponModel Colt45 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

CombatShotgun

Declaration
public static SharedWeaponModel CombatShotgun { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Deagle

Declaration
public static SharedWeaponModel Deagle { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Dildo1

Declaration
public static SharedWeaponModel Dildo1 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Dildo2

Declaration
public static SharedWeaponModel Dildo2 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

FireExtinguisher

Declaration
public static SharedWeaponModel FireExtinguisher { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Fist

Declaration
public static SharedWeaponModel Fist { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Flamethrower

Declaration
public static SharedWeaponModel Flamethrower { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Flower

Declaration
public static SharedWeaponModel Flower { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Golfclub

Declaration
public static SharedWeaponModel Golfclub { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Grenade

Declaration
public static SharedWeaponModel Grenade { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

ID

Get the ID of this weapon model

Declaration
public int ID { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Infrared

Declaration
public static SharedWeaponModel Infrared { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Katana

Declaration
public static SharedWeaponModel Katana { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Knife

Declaration
public static SharedWeaponModel Knife { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

M4

Declaration
public static SharedWeaponModel M4 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Minigun

Declaration
public static SharedWeaponModel Minigun { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Molotov

Declaration
public static SharedWeaponModel Molotov { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Mp5

Declaration
public static SharedWeaponModel Mp5 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Name

Get the name of this weapon model

Declaration
public string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Nightstick

Declaration
public static SharedWeaponModel Nightstick { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Nightvision

Declaration
public static SharedWeaponModel Nightvision { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Parachute

Declaration
public static SharedWeaponModel Parachute { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Poolstick

Declaration
public static SharedWeaponModel Poolstick { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Rifle

Declaration
public static SharedWeaponModel Rifle { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

RocketLauncer

Declaration
public static SharedWeaponModel RocketLauncer { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

RocketLauncherHs

Declaration
public static SharedWeaponModel RocketLauncherHs { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Satchel

Declaration
public static SharedWeaponModel Satchel { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Sawedoff

Declaration
public static SharedWeaponModel Sawedoff { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Shotgun

Declaration
public static SharedWeaponModel Shotgun { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Shovel

Declaration
public static SharedWeaponModel Shovel { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Silenced

Declaration
public static SharedWeaponModel Silenced { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Slot

Get the weapon slot of this weapon model

Declaration
public WeaponSlot Slot { get; }
Property Value
Type Description
WeaponSlot
| Improve this Doc View Source

Sniper

Declaration
public static SharedWeaponModel Sniper { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Spraycan

Declaration
public static SharedWeaponModel Spraycan { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Teargas

Declaration
public static SharedWeaponModel Teargas { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Tec9

Declaration
public static SharedWeaponModel Tec9 { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Uzi

Declaration
public static SharedWeaponModel Uzi { get; }
Property Value
Type Description
SharedWeaponModel
| Improve this Doc View Source

Vibrator

Declaration
public static SharedWeaponModel Vibrator { get; }
Property Value
Type Description
SharedWeaponModel

Methods

| Improve this Doc View Source

GetOriginalProperty(WeaponSkill, WeaponProperty)

Get the value of an original property of this model

Declaration
public int GetOriginalProperty(WeaponSkill skill, WeaponProperty property)
Parameters
Type Name Description
WeaponSkill skill
WeaponProperty property
Returns
Type Description
Int32
| Improve this Doc View Source

GetProperty(WeaponSkill, WeaponProperty)

Get the value of the current property of this model

Declaration
public int GetProperty(WeaponSkill skill, WeaponProperty property)
Parameters
Type Name Description
WeaponSkill skill
WeaponProperty property
Returns
Type Description
Int32
  • Improve this Doc
  • View Source
Back to top Generated by DocFX