C# 클래스 Pluton.Rust.Hooks

상속: Core.Hooks
파일 보기 프로젝트 열기: Notulp/Pluton.Rust

공개 메소드들

메소드 설명
Initialize ( ) : void
On_BeingHammered ( HitInfo info, BasePlayer ownerPlayer ) : void

Called from Hammer.DoAttackShared(HitInfo) .

On_BuildingPartDemolished ( BuildingBlock bb, Core.BaseEntity msg ) : void

Called from BuildingBlock.DoDemolish(BaseEntity.RPCMessage) .

On_BuildingUpgrade ( BuildingBlock block, Core.BaseEntity msg ) : void

Called from BuildingBlock.DoUpgradeToGrade(BaseEntity.RPCMessage) .

On_Chat ( ConsoleSystem arg ) : void

Called from ConVar.Chat.say(ConsoleSystem.Arg) .

On_ClientAuth ( ConnectionAuth ca, Connection connection ) : void

Called from ConnectionAuth.Approve(Connection) .

On_ClientConsole ( ConsoleSystem arg, string rconCmd ) : void

Called from ConsoleNetwork.OnClientCommand(Message) .

On_CombatEntityHurt ( BaseCombatEntity combatEntity, HitInfo info ) : void

Called from BaseCombatEntity.Hurt(HitInfo) .

On_Command ( ConsoleSystem arg ) : void
On_ConsumeFuel ( BaseOven bo, Item fuel, ItemModBurnable burn ) : void

Called from BaseOven.ConsumeFuel(Item, ItemModBurnable) .

On_DoorCodeEntered ( CodeLock codeLock, Core.BaseEntity rpc ) : void

Called from CodeLock.UnlockWithCode(BaseEntity.RPCMessage)

On_DoorUse ( Door door, Core.BaseEntity msg, bool open ) : void

Called from Door.RPC_OpenDoor(BaseEntity.RPCMessage) and Door.RPC_CloseDoor(BaseEntity.RPCMessage) .

On_EventTriggered ( TriggeredEventPrefab tep ) : void

Called from nothing .

On_ItemAdded ( ItemContainer ic, Item i ) : void

Called from ItemContainer.Insert(Item) .

On_ItemLoseCondition ( Item i, float f ) : void

Called from Item.LoseCondition(float) .

On_ItemPickup ( CollectibleEntity entity, Core.BaseEntity msg ) : void

Called from CollectibleEntity.Pickup(BaseEntity.RPCMessage) .

On_ItemRemoved ( ItemContainer ic, Item i ) : void

Called from ItemContainer.Remove(Item) .

On_ItemRepaired ( RepairBench rb, Core.BaseEntity msg ) : void

Called from RepairBench.RepairItem(BaseEntity.RPCMessage) .

On_ItemUsed ( Item item, int amountToConsume ) : void

Called from Item.UseItem(int) .

On_LandmineArmed ( Landmine l ) : void

Called from Landmine.Arm()

On_LandmineExploded ( Landmine l ) : void

Called from Landmine.Explode()

On_LandmineTriggered ( Landmine landmine, BasePlayer basePlayer ) : void

Called from Landmine.Trigger(BasePlayer)

On_LootingEntity ( PlayerLoot playerLoot ) : void

Called from PlayerLoot.StartLootingEntity(BaseEntity, bool) .

On_LootingItem ( PlayerLoot playerLoot ) : void

Called from PlayerLoot.StartLootingItem(Item) .

On_LootingPlayer ( PlayerLoot playerLoot ) : void

Called from PlayerLoot.StartLootingItem(BasePlayer) .

On_NPCKilled ( BaseNPC baseNPC, HitInfo info ) : void

Called from BaseNPC.OnKilled(HitInfo) .

On_NetworkableKill ( BaseNetworkable bn ) : void

Called from BaseNetworkable.Kill(BaseNetworkable.DestroyMode) .

On_Placement ( Construction construction, Construction target, bool needsValidPlacement ) : Core.BaseEntity

Called from Construction.CreateConstruction(Construction.Target, bool) .

On_PlayerAssisted ( BasePlayer bp ) : void

Called from BasePlayer.RPC_Assist(BaseEntity.RPCMessage) .

On_PlayerClothingChanged ( PlayerInventory pi, Item i ) : void

Called from ResourceDispenser.GiveResourceFromItem(BaseEntity, ItemAmount, float, float, AttackEntity) .

On_PlayerConnected ( BasePlayer basePlayer ) : void

Called from BasePlayer.PlayerInit(Connection) .

On_PlayerDied ( BasePlayer basePlayer, HitInfo info ) : void

Called from BasePlayer.Die(HitInfo) .

On_PlayerDisconnected ( BasePlayer basePlayer ) : void

Called from BasePlayer.OnDisconnected() .

On_PlayerGathering ( ResourceDispenser dispenser, Core.BaseEntity to, ItemAmount itemAmount, float gatherDamage, float destroyFraction ) : void

Called from ResourceDispenser.GiveResourceFromItem(BaseEntity, ItemAmount, float, float, AttackEntity) .

On_PlayerHealthChange ( BasePlayer p, float f, float f2 ) : void

Called from BasePlayer.OnHealthChanged(float, float) .

On_PlayerLoaded ( BasePlayer bp ) : void

Called from BasePlayer.EnterGame() .

On_PlayerRespawn ( BasePlayer basePlayer, Vector3 pos, Quaternion quat ) : void

Called from BasePlayer.RespawnAt(Vector3, Quaternion) .

On_PlayerShoot ( BaseProjectile baseProjectile, Core.BaseEntity msg ) : void

Called from BaseProjectile.CLProject(BaseEntity.RPCMessage) .

On_PlayerShootRocket ( BaseLauncher baseLauncher, Core.BaseEntity msg, Core.BaseEntity baseEntity ) : void

Called from BaseLauncher.SV_Launch(BaseEntity.RPCMessage) .

On_PlayerSleep ( BasePlayer bp ) : void

Called from BasePlayer.StartSleeping() .

On_PlayerStartCrafting ( ItemCrafter self, ItemBlueprint bp, BasePlayer owner, ProtoBuf instanceData = null, int amount = 1, int skinID, Item fromTempBlueprint = null ) : bool

Called from ItemCrafter.CraftItem(ItemBlueprint, BasePlayer, ProtoBuf.Item.InstanceData, int, int, Item) .

On_PlayerSyringeOther ( MedicalTool medicalTool, Core.BaseEntity msg ) : void

Called from MedicalTool.UseOther(BaseEntity.RPCMessage) .

On_PlayerSyringeSelf ( MedicalTool medicalTool, Core.BaseEntity msg ) : void

Called from MedicalTool.UseSelf(BaseEntity.RPCMessage) .

On_PlayerTakeRadiation ( BasePlayer basePlayer, float radAmount ) : void

Called from BasePlayer.UpdateRadiation(float) .

On_PlayerThrowExplosive ( ThrownWeapon thrownWeapon, Core.BaseEntity msg ) : void

Called from ThrownWeapon.DoThrow(BaseEntity.RPCMessage) .

On_PlayerThrowWeapon ( BaseMelee baseMelee, Core.BaseEntity msg ) : void

Called from BaseMelee.CLProject(BaseEntity.RPCMessage) .

On_PlayerWakeUp ( BasePlayer bp ) : void

Called from BasePlayer.EndSleeping() .

On_PlayerWounded ( BasePlayer bp ) : void

Called from BasePlayer.StartWounded() .

On_QuarryMining ( MiningQuarry mq ) : void

Called from MiningQuarry.ProcessResources() .

On_ServerConsole ( ConsoleSystem arg, string cmd ) : void

Called from ConsoleSystem.SystemRealm.Normal(RunOptions, string, params object[]) .

On_ServerInit ( ) : void
On_ServerSaved ( ) : void
On_ServerShutdown ( ) : void
SetModded ( ) : void

메소드 상세

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

On_BeingHammered() 공개 정적인 메소드

Called from Hammer.DoAttackShared(HitInfo) .
public static On_BeingHammered ( HitInfo info, BasePlayer ownerPlayer ) : void
info HitInfo
ownerPlayer BasePlayer
리턴 void

On_BuildingPartDemolished() 공개 정적인 메소드

Called from BuildingBlock.DoDemolish(BaseEntity.RPCMessage) .
public static On_BuildingPartDemolished ( BuildingBlock bb, Core.BaseEntity msg ) : void
bb BuildingBlock
msg Core.BaseEntity
리턴 void

On_BuildingUpgrade() 공개 정적인 메소드

Called from BuildingBlock.DoUpgradeToGrade(BaseEntity.RPCMessage) .
public static On_BuildingUpgrade ( BuildingBlock block, Core.BaseEntity msg ) : void
block BuildingBlock
msg Core.BaseEntity
리턴 void

On_Chat() 공개 정적인 메소드

Called from ConVar.Chat.say(ConsoleSystem.Arg) .
public static On_Chat ( ConsoleSystem arg ) : void
arg ConsoleSystem
리턴 void

On_ClientAuth() 공개 정적인 메소드

Called from ConnectionAuth.Approve(Connection) .
public static On_ClientAuth ( ConnectionAuth ca, Connection connection ) : void
ca ConnectionAuth
connection Connection
리턴 void

On_ClientConsole() 공개 정적인 메소드

Called from ConsoleNetwork.OnClientCommand(Message) .
public static On_ClientConsole ( ConsoleSystem arg, string rconCmd ) : void
arg ConsoleSystem
rconCmd string
리턴 void

On_CombatEntityHurt() 공개 정적인 메소드

Called from BaseCombatEntity.Hurt(HitInfo) .
public static On_CombatEntityHurt ( BaseCombatEntity combatEntity, HitInfo info ) : void
combatEntity BaseCombatEntity
info HitInfo
리턴 void

On_Command() 공개 정적인 메소드

public static On_Command ( ConsoleSystem arg ) : void
arg ConsoleSystem
리턴 void

On_ConsumeFuel() 공개 정적인 메소드

Called from BaseOven.ConsumeFuel(Item, ItemModBurnable) .
public static On_ConsumeFuel ( BaseOven bo, Item fuel, ItemModBurnable burn ) : void
bo BaseOven
fuel Item
burn ItemModBurnable
리턴 void

On_DoorCodeEntered() 공개 정적인 메소드

Called from CodeLock.UnlockWithCode(BaseEntity.RPCMessage)
public static On_DoorCodeEntered ( CodeLock codeLock, Core.BaseEntity rpc ) : void
codeLock CodeLock
rpc Core.BaseEntity
리턴 void

On_DoorUse() 공개 정적인 메소드

Called from Door.RPC_OpenDoor(BaseEntity.RPCMessage) and Door.RPC_CloseDoor(BaseEntity.RPCMessage) .
public static On_DoorUse ( Door door, Core.BaseEntity msg, bool open ) : void
door Door
msg Core.BaseEntity
open bool
리턴 void

On_EventTriggered() 공개 정적인 메소드

Called from nothing .
public static On_EventTriggered ( TriggeredEventPrefab tep ) : void
tep TriggeredEventPrefab
리턴 void

On_ItemAdded() 공개 정적인 메소드

Called from ItemContainer.Insert(Item) .
public static On_ItemAdded ( ItemContainer ic, Item i ) : void
ic ItemContainer
i Item
리턴 void

On_ItemLoseCondition() 공개 정적인 메소드

Called from Item.LoseCondition(float) .
public static On_ItemLoseCondition ( Item i, float f ) : void
i Item
f float
리턴 void

On_ItemPickup() 공개 정적인 메소드

Called from CollectibleEntity.Pickup(BaseEntity.RPCMessage) .
public static On_ItemPickup ( CollectibleEntity entity, Core.BaseEntity msg ) : void
entity CollectibleEntity
msg Core.BaseEntity
리턴 void

On_ItemRemoved() 공개 정적인 메소드

Called from ItemContainer.Remove(Item) .
public static On_ItemRemoved ( ItemContainer ic, Item i ) : void
ic ItemContainer
i Item
리턴 void

On_ItemRepaired() 공개 정적인 메소드

Called from RepairBench.RepairItem(BaseEntity.RPCMessage) .
public static On_ItemRepaired ( RepairBench rb, Core.BaseEntity msg ) : void
rb RepairBench
msg Core.BaseEntity
리턴 void

On_ItemUsed() 공개 정적인 메소드

Called from Item.UseItem(int) .
public static On_ItemUsed ( Item item, int amountToConsume ) : void
item Item
amountToConsume int
리턴 void

On_LandmineArmed() 공개 정적인 메소드

Called from Landmine.Arm()
public static On_LandmineArmed ( Landmine l ) : void
l Landmine
리턴 void

On_LandmineExploded() 공개 정적인 메소드

Called from Landmine.Explode()
public static On_LandmineExploded ( Landmine l ) : void
l Landmine
리턴 void

On_LandmineTriggered() 공개 정적인 메소드

Called from Landmine.Trigger(BasePlayer)
public static On_LandmineTriggered ( Landmine landmine, BasePlayer basePlayer ) : void
landmine Landmine
basePlayer BasePlayer
리턴 void

On_LootingEntity() 공개 정적인 메소드

Called from PlayerLoot.StartLootingEntity(BaseEntity, bool) .
public static On_LootingEntity ( PlayerLoot playerLoot ) : void
playerLoot PlayerLoot
리턴 void

On_LootingItem() 공개 정적인 메소드

Called from PlayerLoot.StartLootingItem(Item) .
public static On_LootingItem ( PlayerLoot playerLoot ) : void
playerLoot PlayerLoot
리턴 void

On_LootingPlayer() 공개 정적인 메소드

Called from PlayerLoot.StartLootingItem(BasePlayer) .
public static On_LootingPlayer ( PlayerLoot playerLoot ) : void
playerLoot PlayerLoot
리턴 void

On_NPCKilled() 공개 정적인 메소드

Called from BaseNPC.OnKilled(HitInfo) .
public static On_NPCKilled ( BaseNPC baseNPC, HitInfo info ) : void
baseNPC BaseNPC
info HitInfo
리턴 void

On_NetworkableKill() 공개 정적인 메소드

Called from BaseNetworkable.Kill(BaseNetworkable.DestroyMode) .
public static On_NetworkableKill ( BaseNetworkable bn ) : void
bn BaseNetworkable
리턴 void

On_Placement() 공개 정적인 메소드

Called from Construction.CreateConstruction(Construction.Target, bool) .
public static On_Placement ( Construction construction, Construction target, bool needsValidPlacement ) : Core.BaseEntity
construction Construction
target Construction
needsValidPlacement bool
리턴 Core.BaseEntity

On_PlayerAssisted() 공개 정적인 메소드

Called from BasePlayer.RPC_Assist(BaseEntity.RPCMessage) .
public static On_PlayerAssisted ( BasePlayer bp ) : void
bp BasePlayer
리턴 void

On_PlayerClothingChanged() 공개 정적인 메소드

Called from ResourceDispenser.GiveResourceFromItem(BaseEntity, ItemAmount, float, float, AttackEntity) .
public static On_PlayerClothingChanged ( PlayerInventory pi, Item i ) : void
pi PlayerInventory
i Item
리턴 void

On_PlayerConnected() 공개 정적인 메소드

Called from BasePlayer.PlayerInit(Connection) .
public static On_PlayerConnected ( BasePlayer basePlayer ) : void
basePlayer BasePlayer
리턴 void

On_PlayerDied() 공개 정적인 메소드

Called from BasePlayer.Die(HitInfo) .
public static On_PlayerDied ( BasePlayer basePlayer, HitInfo info ) : void
basePlayer BasePlayer
info HitInfo
리턴 void

On_PlayerDisconnected() 공개 정적인 메소드

Called from BasePlayer.OnDisconnected() .
public static On_PlayerDisconnected ( BasePlayer basePlayer ) : void
basePlayer BasePlayer
리턴 void

On_PlayerGathering() 공개 정적인 메소드

Called from ResourceDispenser.GiveResourceFromItem(BaseEntity, ItemAmount, float, float, AttackEntity) .
public static On_PlayerGathering ( ResourceDispenser dispenser, Core.BaseEntity to, ItemAmount itemAmount, float gatherDamage, float destroyFraction ) : void
dispenser ResourceDispenser
to Core.BaseEntity
itemAmount ItemAmount
gatherDamage float
destroyFraction float
리턴 void

On_PlayerHealthChange() 공개 정적인 메소드

Called from BasePlayer.OnHealthChanged(float, float) .
public static On_PlayerHealthChange ( BasePlayer p, float f, float f2 ) : void
p BasePlayer
f float
f2 float
리턴 void

On_PlayerLoaded() 공개 정적인 메소드

Called from BasePlayer.EnterGame() .
public static On_PlayerLoaded ( BasePlayer bp ) : void
bp BasePlayer
리턴 void

On_PlayerRespawn() 공개 정적인 메소드

Called from BasePlayer.RespawnAt(Vector3, Quaternion) .
public static On_PlayerRespawn ( BasePlayer basePlayer, Vector3 pos, Quaternion quat ) : void
basePlayer BasePlayer
pos Vector3
quat Quaternion
리턴 void

On_PlayerShoot() 공개 정적인 메소드

Called from BaseProjectile.CLProject(BaseEntity.RPCMessage) .
public static On_PlayerShoot ( BaseProjectile baseProjectile, Core.BaseEntity msg ) : void
baseProjectile BaseProjectile
msg Core.BaseEntity
리턴 void

On_PlayerShootRocket() 공개 정적인 메소드

Called from BaseLauncher.SV_Launch(BaseEntity.RPCMessage) .
public static On_PlayerShootRocket ( BaseLauncher baseLauncher, Core.BaseEntity msg, Core.BaseEntity baseEntity ) : void
baseLauncher BaseLauncher
msg Core.BaseEntity
baseEntity Core.BaseEntity
리턴 void

On_PlayerSleep() 공개 정적인 메소드

Called from BasePlayer.StartSleeping() .
public static On_PlayerSleep ( BasePlayer bp ) : void
bp BasePlayer
리턴 void

On_PlayerStartCrafting() 공개 정적인 메소드

Called from ItemCrafter.CraftItem(ItemBlueprint, BasePlayer, ProtoBuf.Item.InstanceData, int, int, Item) .
public static On_PlayerStartCrafting ( ItemCrafter self, ItemBlueprint bp, BasePlayer owner, ProtoBuf instanceData = null, int amount = 1, int skinID, Item fromTempBlueprint = null ) : bool
self ItemCrafter
bp ItemBlueprint
owner BasePlayer
instanceData ProtoBuf
amount int
skinID int
fromTempBlueprint Item
리턴 bool

On_PlayerSyringeOther() 공개 정적인 메소드

Called from MedicalTool.UseOther(BaseEntity.RPCMessage) .
public static On_PlayerSyringeOther ( MedicalTool medicalTool, Core.BaseEntity msg ) : void
medicalTool MedicalTool
msg Core.BaseEntity
리턴 void

On_PlayerSyringeSelf() 공개 정적인 메소드

Called from MedicalTool.UseSelf(BaseEntity.RPCMessage) .
public static On_PlayerSyringeSelf ( MedicalTool medicalTool, Core.BaseEntity msg ) : void
medicalTool MedicalTool
msg Core.BaseEntity
리턴 void

On_PlayerTakeRadiation() 공개 정적인 메소드

Called from BasePlayer.UpdateRadiation(float) .
public static On_PlayerTakeRadiation ( BasePlayer basePlayer, float radAmount ) : void
basePlayer BasePlayer
radAmount float
리턴 void

On_PlayerThrowExplosive() 공개 정적인 메소드

Called from ThrownWeapon.DoThrow(BaseEntity.RPCMessage) .
public static On_PlayerThrowExplosive ( ThrownWeapon thrownWeapon, Core.BaseEntity msg ) : void
thrownWeapon ThrownWeapon
msg Core.BaseEntity
리턴 void

On_PlayerThrowWeapon() 공개 정적인 메소드

Called from BaseMelee.CLProject(BaseEntity.RPCMessage) .
public static On_PlayerThrowWeapon ( BaseMelee baseMelee, Core.BaseEntity msg ) : void
baseMelee BaseMelee
msg Core.BaseEntity
리턴 void

On_PlayerWakeUp() 공개 정적인 메소드

Called from BasePlayer.EndSleeping() .
public static On_PlayerWakeUp ( BasePlayer bp ) : void
bp BasePlayer
리턴 void

On_PlayerWounded() 공개 정적인 메소드

Called from BasePlayer.StartWounded() .
public static On_PlayerWounded ( BasePlayer bp ) : void
bp BasePlayer
리턴 void

On_QuarryMining() 공개 정적인 메소드

Called from MiningQuarry.ProcessResources() .
public static On_QuarryMining ( MiningQuarry mq ) : void
mq MiningQuarry
리턴 void

On_ServerConsole() 공개 정적인 메소드

Called from ConsoleSystem.SystemRealm.Normal(RunOptions, string, params object[]) .
public static On_ServerConsole ( ConsoleSystem arg, string cmd ) : void
arg ConsoleSystem
cmd string
리턴 void

On_ServerInit() 공개 정적인 메소드

public static On_ServerInit ( ) : void
리턴 void

On_ServerSaved() 공개 정적인 메소드

public static On_ServerSaved ( ) : void
리턴 void

On_ServerShutdown() 공개 정적인 메소드

public static On_ServerShutdown ( ) : void
리턴 void

SetModded() 공개 정적인 메소드

public static SetModded ( ) : void
리턴 void