-
Notifications
You must be signed in to change notification settings - Fork 48
Добавил полное апи игры раст #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
skulidropek
wants to merge
99
commits into
OrangeWulf:master
Choose a base branch
from
skulidropek:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Author
|
This is a complete API interface that has a growth and an oxide, suitable for training neural networks |
Patch for September 23rd Rust update (protocol 2356.228.1) Patch for staging branch changes Patch for September 28th Rust update (2357.228.1) Patch for September 29th Rust update (2357.228.1) Add OnEyePosValidate hook - bool? OnEyePosValidate(AttackEntity attackEntity, BasePlayer player, Vector3 eyePos) Add OnImpactEffectCreate hook - object OnImpactEffectCreate(HitInfo info) Add OnOvenTemperature hook - float? OnOvenTemperature(BaseOven oven, int slot) Add OnBuildingMerge hook - void OnBuildingMerge(ServerBuildingManager manager, BuildingManager.Building to, BuildingManager.Building from) Patch for October 6th Rust update (protocol 2359.229.1) Patch for October 7th Rust update (protocol 2359.229.1) Patch for October 9th Rust update (protocol 2359.229.1) Add OnRconMessage hook - bool? OnRconMessage(IPAddress ipAddress, RemoteMessage message) - Exposes Facepunch.RCon::listenerNew Move CanAccessVendingMachine hook Patch for release branch changes Patch for October 20th Rust update (protocol 2360.229.1) Patch for October 25th Rust update (protocol 2360.229.1) Add OnFeedbackReported hook - void OnFeedbackReported(BasePlayer player, string subject, string message, ReportType type) Remove BasePlayer.OnFeedbackReport check Disable check in BasePlayer.OnFeedbackReport to fix OnFeedbackReported not being called Add OnPortalUse hook - object OnUsePortal(BasePlayer player, BasePortal portal) - object OnPortalUse(BasePlayer player, BasePortal portal) Add OnPortalUsed hook - object OnPortalUsed(BasePlayer player, BasePortal portal) Patch for November 3rd Rust update (protocol 2362.230.1) Patch for November 4th Rust update (protocol 2362.230.1) Patch for November 9th Rust update (protocol 2362.230.1) - Fix OnItemStacked hook not being called - Fix OnPortalUsed hook not having HookCategory set Patch for November 25th Rust update (protocol 2362.230.1) Patch for December 1st Rust update (protocol 2365.231.1) Patch for December 2nd Rust update (protocol 2365.231.1) Patch for December 6th Rust update (protocol 2365.231.1) Patch for December 12th Rust update (protocol 2365.231.1) Patch for December 15th Rust update (protocol 2366.231.1) Fix incorrect arguments in OnEntityBuilt hook Patch for December 16th Rust update (protocol 2366.231.1) Add OnItemDespawn hook void OnItemDespawn(Item item) Add OnCorpsePopulate hook for GingerbreadNPC Add CanUnlock [ModularCarCodeLock] & OnVehicleLockRequest hooks - object CanUnlock(BasePlayer player, ModularCarCodeLock lock, string codeEntered); - object OnVehicleLockRequest(ModularCarGarage garage, BasePlayer player, string code); Add OnMessagePlayer hook in Oxide.Game.Rust.Libraries.Player library OnMessagePlayer(string message, BasePlayer player, ulong userId) Remove deprecated hooks Patch for January 5th Rust update (protocol 2367.232.1) Add DestroyUi property for new CUI functionality Add missing properties to CUI library Facepunch/Rust.Community@38f2182 Facepunch/Rust.Community@cc2d3bb Add Industrial hooks - OnSwitchToggled [IndustrialConveyor] - OnSwitchToggle [IndustrialConveyor] Patch for February 2 Rust update (Protocol 2370.233.1) Patch for February 20th Rust update (Protocol 2370.233.1) Patch for February 23rd Rust update (Protocol 2370.233.1) Add destroyUi parameter to CuiElementContainer.Add Add OnConveyorFiltersChange hook void OnConveyorFiltersChange(IndustrialConveyor conveyor, BasePlayer player, ProtoBuf.IndustrialConveyor.ItemFilterList itemFilterList) Add ItemDefinition argument to OnAmmoSwitch Add OnItemCraft [IndustrialCrafter] hook void OnItemCraft(IndustrialCrafter crafter, ItemBlueprint blueprint) Add OnVehicleHornPressed hook void OnVehicleHornPressed(VehicleModuleSeating seat, BasePlayer player) Add difference parameter to OnItemStacked hook OnItemStacked(Item destinationItem, Item sourceItem, ItemContainer container, int difference) Patch for March 2nd Rust update (protocol 2377.234.1) Patch for March 14th Rust update (protocol 2377.234.1) Patch for March 22nd Rust update (protocol 2377.234.1) Unity 2021 upgrade compiler testing Expose various fields/methods as public Add CanExplosiveStick hook Add OnInventoryAmmoItemFind hook Add return behavior to OnSendCommand and OnBroadcastCommand hooks Enable Roslyn compiler Patch for April 6th Rust update (Protocol 2380.236.1) Fix OnMapMarkerRemove hook throwing index out of range error Patch for April 7th Rust update (2380.236.1) Fix OnWireConnect return behavior Add param to OnRidableAnimalClaim hook Fix player nametag not updating when renamed Patch for April 11th Rust update (2380.236.1) Fix OnWireConnect hook Patch for April 14th Rust update (Protocol 2380.236.1) Patch for April 19th Rust update (Protocol 2380.236.1) Add branch to o.version command Fix GitBranch not working properly on CI Add game developers to admin group automatically Add game developer check for IPlayer.IsAdmin Patch for May 4th Rust update (Protocol 2388.237.1) Patch for May 5th Rust update (Protocol 2388.237.1) Fix CanAffordUpgrade hook arguments - bool CanAffordUpgrade(BasePlayer, BuildingBlock, BuildingGrade.Enum, ulong) Patch for May 9th Rust update (Protocol 2388.237.1) Patch for May 23rd Rust update (Protocol 2388.237.1) Fix rename interfering with vanish plugin Add altMove parameter to CanMoveItem object CanMoveItem(Item item, PlayerInventory playerLoot, ItemContainerId targetContainer, int targetSlot, int amount, bool altMove) Fix depot downloader not working Patch for May 1st Rust update (Protocol 2392.238.1) Patch for June 1st Rust update (Protocol 2392.238.1) Expose BuildingBlock::playerCustomColourToApply update Add update property to CuiHelper Patch for June 12th Rust update (Protocol 2392.238.1) Patch for July 6th Rust update (Protocol 2398.239.1) Patch for July 7th Rust update (Protocol 2398.239.1) Patch for July 9th Rust update (Protocol 2398.239.1) Add Clan hooks Expose F15::movePosition Expose BasePlayer::SendPingsToClient Expose NexusServer::BuildTransferRequest Expose Industrial Entity fields and methods Add OnStashOcclude(StashContainer stash) hook Add ItemCrafter argument to OnItemCraftFinished/Cancelled hooks Add VehiclePrivilege hooks Add OnBedMade hook Patch for August 3rd Rust update (Protocol 2405.240.1) Patch for August 4th Rust update (Protocol 2405.240.1) Fix SleepingBag:DestroyBag IL Exception Fix Rename breaking vanish Patch for August 12th Rust update (Protocol 2405.240.1) Add github workflows Patch for September 5th Rust update (Protocol 2405.240.1) Fix OnPlayerChat NullReferenceException Expose modifiers BaseHelicopter::currentThrottle, avgThrust, torqueScale, liftDotMax, thrustLerpSpeed, altForceDotMin (previously public) Expose modifiers BaseHelicopter::serverGibs, BaseHelicopter::fireBall Expose modifiers PlayerHelicopter::Wheel, PlayerHelicopter::wheels, PlayerHelicopter::fuelStoragePrefab, BaseHelicopter::killTriggers Patch for September 7th Rust update (Protocol xxx) Patch for September 7th Rust update (Protocol 2506.241.1) Expose several Helicopter modifiers BaseHelicopter::crashEffect AttackHelicopterRockets::reloadTime AttackHelicopterRockets::rocketsPerReload AttackHelicopterRockets::timeBetweenRockets AttackHelicopterRockets::timeSinceRocketFired PlayerHelicopter::maxRotorSpeed PlayerHelicopter::motorForceConstant PlayerHelicopter::brakeForceConstant PlayerHelicopter::timeUntilMaxRotorSpeed Patch for September 11th Rust update (Protocol 2405.240.1) Move branch logic into core Add WeaponRack hooks object OnRackedWeaponMount( Item weapon, BasePlayer player, WeaponRack rack ) void OnRackedWeaponMounted( Item weapon, BasePlayer player, WeaponRack rack ) object OnRackedWeaponSwap( Item weaponMounting, WeaponRackSlot weaponTaking, BasePlayer player, WeaponRack rack ) void OnRackedWeaponSwapped( Item weaponMounting, WeaponRackSlot weaponTaking, BasePlayer player, WeaponRack rack ) object OnRackedWeaponTake( Item weapon, BasePlayer player, WeaponRack rack ) void OnRackedWeaponTaken( Item weapon, BasePlayer player, WeaponRack rack ) object OnRackedWeaponUnload( Item weapon, BasePlayer player, WeaponRack rack ) void OnRackedWeaponUnloaded( Item weapon, BasePlayer player, WeaponRack rack ) object OnRackedWeaponLoad( Item weapon, ItemDefinition ammoItem, BasePlayer player, WeaponRack rack ) void OnRackedWeaponLoaded( Item weapon, ItemDefinition ammoItem, BasePlayer player, WeaponRack rack ) Update GitBranch implementation Patch for September 13th Rust update (Protocol 2405.240.1) Add OnEntityLoaded hook Hook called after a network object is loaded from a save file. Has BaseNetworkable.LoadInfo as argument. Needed to fix the createFrame variable, including. Add OnTimedExplosiveExplode hook Add CanFastTrackCraftTask hook Add CanBeHomingTargeted hooks Update restore command Patch for October 5th Rust update (Protocol 2508.242.1) Patch for October 5th Rust update (Protocol 2508.242.1) 2 Move build logic to actions repo Update DepotDownloader url Fix incorrect CanBeTargeted hook argument Add InterferenceUpdate hooks OnInterferenceUpdate(AutoTurret turret) OnInterferenceOthersUpdate(AutoTurret turret) Add Halloween event hooks OnEventCollectablePickup OnHuntEventStart OnHuntEventEnd expose EggHuntEvent::_eggHunters Add OnPatrolHelicopterTakeDamage hook object OnPatrolHelicopterTakeDamage(PatrolHelicopter heli, HitInfo hitinfo) Patch for October 23rd Rust update (Protocol 2509.242.1) Patch for November 2nd Rust update (Protocol 2511.243.1) Patch for November 28th Rust update (Protocol 2511.243.1) Implement chat command prefix config Add CanLockerAcceptItem hook - Expose various Locker fields/methods Expose _processQueues and _processQueueProfilerString for IOEntity Expose puttingDistance and maxOrbitDuration on PatrolHelicopterAI Fix covalence chat commands not working Add sourceConnection arg to OnSignalBroadcast hook Expose Signage::LogEdit Patch for December 7th Rust update (Protocol 2515.244.1) Expose UpdateMaxAuthCapacity and AtMaxAuthCapacity on SimplePrivilege Patch for December 8th Rust update (Protocol 2515.244.1) Patch for December 16th Rust update (Protocol 2515.244.1) Patch for December 17th Rust update (Protocol 2515.244.1) Patch for January 4th Rust update (Protocol 2516.245.1) Remove depreciated hook Patch for January 10th Rust update (Protocol 2516.245.1) Patch for January 18th Rust update (Protocol 2516.245.1) Add OnCoalingTowerGather and OnCoalingTowerStart hooks - void OnCoalingTowerStart(CoalingTower tower, BasePlayer player) - void OnCoalingTowerGather(CoalingTower tower, Item item) Add OnPatrolHelicopterKill hook object OnPatrolHelicopterKill(PatrolHelicopter heli, HitInfo hitInfo) Patch for February 1st Rust update (Protocol 2519.246.1) Patch for February 6th Rust update (Protocol 2519.246.1) Add docs export to GitHub release action Add plugin memory usage to o.plugins command Add OnBackpackDrop hook - object OnBackpackDrop(Item backpack, PlayerInventory inventory) Add OnPlayerDig hook - object OnPlayerDig(BasePlayer player, BaseDiggableEntity entity) Expose LegacyShelter::lastInteractedWithDoor AutoTurret::authDirty AutoTurret::hasPotentialUnauthedTarget AutoTurret::interferenceUpdateList AutoTurret::nearbyTurrets AutoTurret::OnEntityEnterTrigger AutoTurret::PreventDuplicatesInQueue AutoTurret::TryRegisterForInterferenceUpdate AutoTurret::UpdateInterference AutoTurret::UpdateInterferenceOnOthers AutoTurret::UpdateNearbyTurrets HuntingTrophy::CurrentTrophyData ItemModBackpack::CanAcceptItem PlayerInventory::AddBackpackContentsToList PlayerInventory::CanEquipItem PlayerInventory::CanEquipParachute PlayerInventory::CanMoveItemsFrom PlayerInventory::CanReplaceBackpack PlayerInventory::CanStoreInInventory PlayerInventory::CanWearItem PlayerInventory::GetIdealPickupContainer PlayerInventory::OnClothingChanged PlayerInventory::OnContentsDirty PlayerInventory::OnItemRemoved TerrainPath::DungeonBaseLinks WantedPoster::imageCrc WantedPoster::playerId WantedPoster::playerName Add OnPoweredLightsPointAdd and OnSignContentCopied hooks - object OnPoweredLightsPointAdd(PoweredLightsDeployer deployer, BasePlayer player, Vector3 newPoint, Vector3 newNormal) - void OnSignContentCopied(SignContent content, ISignage sign, IUGCBrowserEntity browser) Add OnNearbyTurretsScan hook - object OnNearbyTurretsScan(AutoTurret turret, List<AutoTurret> nearbyTurrets, bool created) Add OnQuarryToggle hook - object OnQuarryToggle(MiningQuarry miningQuarry, BasePlayer player) Patch for March 7th Rust update (Protocol 2524.247.1) Patch for March 9th Rust update (Protocol 2524.247.1) Patch for March 21st Rust update (Protocol 2524.247.1) Patch for March 27th Rust update (Protocol 2524.247.1) Fix OnPlayerWantsMount arguments and location Add post gather hooks - OnDispenserGathered(ResourceDispenser, BasePlayer, Item) - OnCollectiblePickedup(CollectibleEntity, BasePlayer, Item) - OnDispenserBonusReceived(ResourceDispenser, BasePlayer, Item) Add OnItemFilter hook - OnItemFilter(Item, StorageContainer, int) Add OnPlaneterBoxFertilize hook - OnPlaneterBoxFertilize(PlanterBox) Add OnPlayerMarkersSend and OnPlayerPingsSend hooks - OnPlayerMarkersSend(BasePlayer, MapNoteList) - OnPlayerPingsSend(BasePlayer, MapNoteList) Add BoomBox hooks - OnBoomboxStationValidate(string) - OnBoomboxToggle(BoomBox, BasePlayer, bool) - OnBoomboxStationUpdate(BoomBox, string, BasePlayer) - OnBoomboxStationUpdated(BoomBox, string, BasePlayer) Add BaseAIBrain.SwitchToState hooks - OnAIBrainStateSwitch(BaseAIBrain, BasicAIState current, BasicAIState new) - OnAIBrainStateSwitched(BaseAIBrain, BasicAIState new) Add OnCrateLaptopAttack hook - OnCrateLaptopAttack(HackableLockedCrate, HitInfo) Add OnMetalDetectorFlagRequest and exposure changes - OnMetalDetectorFlagRequest(BaseMetalDetector, Vector3) Exposures BaseMetalDetector::nearestSource LockOnLauncher::lockRange LockOnLauncher::lockConeDot LockOnLauncher::timeToLock LockOnLauncher::timeToLoseLock Patch for April 4th Rust update (Protocol 2546.249.1) Revert FileWatcher changes Patch for April 5th Rust update (Protocol 2546.249.1) Patch for April 13th Rust update (Protocol 2546.249.1) Patch for April 24th Rust update (Protocol 2546.249.1) Add ScrollView support to CuiHelper Add 0Harmony as default reference Update GitHub Actions to latest version Update commit email & name to oxidemod-bot Fix OnCollectiblePickedup Add Cargo Ship harbor hooks and expose various fields as public OnHarborApproach(CargoShip cargoShip) OnHarborArrived(CargoShip cargoShip) OnHarborLeave(CargoShip cargoShip) currentHarborApproachNode harborApproachPath harborIndex hasDockedOnce startHarborApproachNode isDoingHarborApproach proxManager Add OnDangerZoneAdded hook & exposure changes in DangerZones - OnDangerZoneAdded(PatrolHelicopterAI, PatrolHelicopterAI.DangerZone) Update SteamServer tags to use compressed tags Expose fields/properties HackableLockedCrate and ItemDefinition - HackableLockedCrate - hasBeenOpened - mapMarkerInstance - originalHackerPlayer - originalHackerPlayerId - ItemDefinition - ItemModBurnable setter - ItemModCookable setter - ItemModWearable setter Patch for May 3rd Rust update (Protocol 2547.250.1) Patch for May 13th Rust update (Protocol 2547.250.1) Patch for May 20th Rust update (Protocol 2547.250.1) Patch for June 12th Rust update (Protocol 2548.251.1) Expose IndustrialConveyor::mode Fixing NPE issue of OnPlayerSpawn hook when caller returns non-null value Add OnWildlifeTrap [SurvivalFishTrap] hook Add OnPlayerPveDamage hook - object OnPlayerPveDamage(BasePlayer player, HitInfo info, BuildingBlock buildingBlock) Patch for July 4th Rust update (Protocol 2551.252.1) Patch for July 4th 2nd Rust update (Protocol 2551.252.1) Patch for July 5th Rust update (Protocol 2551.252.1) Fix BasePlayer.userId.IsSteamId() not working with new type Patch for July 7th Rust update (Protocol 2552.252.1) Expose Bike::idleFuelPerSec & Bike::maxFuelPerSec Expose Bike::hasSidecar Add OnStructureUpgraded hooks Patch for July 12th Rust update (Protocol 2552.252.1) Patch for July 15th Rust update (Protocol 2553.252.1) Add BradleyAPC hooks - CanDeployScientists(BradleyAPC, BaseEntity, List<GameObjectRef>, List<Vector3>) - OnScientistInitialized(BradleyAPC, ScientistNPC, Vector3) - OnScientistRecalled(BradleyAPC, ScientistNPC) Add ModularCar hooks - OnLockRemove(ModularCar, BasePlayer) - OnCodeChange(ModularCar, BasePlayer, string) - CanDestroyLock(BasePlayer, ModularCar, BaseVehicleModule) - CanLock(BasePlayer, ModularCar, ModularCarCodeLock) Expose various Bike fields/methods as public Expose PhotoFrame::_photoEntity & SignContent::textureIDs Add OnDebrisSpawn hook - OnDebrisSpawn(DecayEntity, Vector3, Quaternion, bool) Add OnArcadeScoreAdded hook - OnArcadeScoreAdded(BaseArcadeMachine, BasePlayer, int) Expose Bike::airControlTorquePower Add & modify various AutoTurret hooks - object OnTurretModeToggle(AutoTurret turret, BasePlayer player) Called when a player attempts to toggle the turret mode This has been moved, and is now a pre-hook with a player parameter - object OnTurretClearList(AutoTurret turret, BasePlayer player) Called when a player attempts to clear the list of authorized players Changed the Argument Behavior from JustParams, which was causing it to not pass the correct parameters, to UseArgumentString - object OnTurretIdentifierSet(AutoTurret turret, BasePlayer player, string id) Called when a player attempts to set the turret's ID Expose WeaponRack::gridSlots & WeaponRack::SetGridCellContents Add OnVendingShopOpen[ed] hook for TravellingVendor Improved Countdown support Patch for August 1st Rust update (Protocol 2555.253.1) Fix ModularCarCodeLock.HasLockPermission IL exception Expose various TinCanAlarm fields/methods as public Patch for August 21st Rust update (Protocol 2555.253.1)
v2.0.6280about 2 hours ago Patch for September 6th Rust update (2556.254.1) v2.0.6279about 22 hours ago Patch for September 5th Rust update (2556.254.1) Add new CuiCountdownComponent TimerFormats
…дополнительные поля
Patch for October 28th Rust update (Protocol 2565.259.1)
Patched for December 5th Rust update (Protocol 2570.262.1)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.