mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
## Mirror of PR #26274: [Adds logging for refunds](https://github.com/space-wizards/space-station-14/pull/26274) from <img src="https://avatars.githubusercontent.com/u/10567778?v=4" alt="space-wizards" width="22"/> [space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14) ###### `85f4b43db1c0256e6d4c48a01558e8cc0a883ada` PR opened by <img src="https://avatars.githubusercontent.com/u/54602815?v=4" width="16"/><a href="https://github.com/keronshb"> keronshb</a> at 2024-03-19 23:42:22 UTC --- PR changed 2 files with 4 additions and 0 deletions. The PR had the following labels: - Status: Needs Review --- <details open="true"><summary><h1>Original Body</h1></summary> > <!-- Please read these guidelines before opening your PR: https://docs.spacestation14.io/en/getting-started/pr-guideline --> > <!-- The text between the arrows are comments - they will not be visible on your PR. --> > > ## About the PR > <!-- What did you change in this PR? --> > > Refunds now have logging > > ## Why / Balance > <!-- Why was it changed? Link any discussions or issues here. Please discuss how this would affect game balance. --> > > Good for admins to keep track of. > > ## Technical details > <!-- If this is a code change, summarize at high level how your new code works. This makes it easier to review. --> > A Store Refund entry was added into the logging enum and a log entry is made when a refund is successful. </details> Signed-off-by: VMSolidus <evilexecutive@gmail.com> Co-authored-by: SimpleStation14 <Unknown> Co-authored-by: VMSolidus <evilexecutive@gmail.com>
103 lines
2.4 KiB
C#
103 lines
2.4 KiB
C#
namespace Content.Shared.Database;
|
|
|
|
// DO NOT CHANGE THE NUMERIC VALUES OF THESE
|
|
public enum LogType
|
|
{
|
|
Unknown = 0, // do not use
|
|
// DamageChange = 1
|
|
Damaged = 2,
|
|
Healed = 3,
|
|
Slip = 4,
|
|
EventAnnounced = 5,
|
|
EventStarted = 6,
|
|
EventRan = 16,
|
|
EventStopped = 7,
|
|
Verb = 19,
|
|
ShuttleCalled = 8,
|
|
ShuttleRecalled = 9,
|
|
ExplosiveDepressurization = 10,
|
|
Respawn = 13,
|
|
RoundStartJoin = 14,
|
|
LateJoin = 15,
|
|
ChemicalReaction = 17,
|
|
ReagentEffect = 18,
|
|
CanisterValve = 20,
|
|
CanisterPressure = 21,
|
|
CanisterPurged = 22,
|
|
CanisterTankEjected = 23,
|
|
CanisterTankInserted = 24,
|
|
DisarmedAction = 25,
|
|
DisarmedKnockdown = 26,
|
|
AttackArmedClick = 27,
|
|
AttackArmedWide = 28,
|
|
AttackUnarmedClick = 29,
|
|
AttackUnarmedWide = 30,
|
|
InteractHand = 31,
|
|
InteractActivate = 32,
|
|
Throw = 33,
|
|
Landed = 34,
|
|
ThrowHit = 35,
|
|
Pickup = 36,
|
|
Drop = 37,
|
|
BulletHit = 38,
|
|
ForceFeed = 40, // involuntary
|
|
Ingestion = 53, // voluntary
|
|
MeleeHit = 41,
|
|
HitScanHit = 42,
|
|
Mind = 43, // Suicides, ghosting, repossession, objectives, etc.
|
|
Explosion = 44,
|
|
Radiation = 45, // Unused
|
|
Barotrauma = 46,
|
|
Flammable = 47,
|
|
Asphyxiation = 48,
|
|
Temperature = 49,
|
|
Hunger = 50,
|
|
Thirst = 51,
|
|
Electrocution = 52,
|
|
CrayonDraw = 39,
|
|
AtmosPressureChanged = 54,
|
|
AtmosPowerChanged = 55,
|
|
AtmosVolumeChanged = 56,
|
|
AtmosFilterChanged = 57,
|
|
AtmosRatioChanged = 58,
|
|
FieldGeneration = 59,
|
|
GhostRoleTaken = 60,
|
|
Chat = 61,
|
|
Action = 62,
|
|
RCD = 63,
|
|
Construction = 64,
|
|
Trigger = 65,
|
|
Anchor = 66,
|
|
Unanchor = 67,
|
|
EmergencyShuttle = 68,
|
|
// haha so funny
|
|
Emag = 69,
|
|
Gib = 70,
|
|
Identity = 71,
|
|
CableCut = 72,
|
|
StorePurchase = 73,
|
|
LatticeCut = 74,
|
|
Stripping = 75,
|
|
Stamina = 76,
|
|
EntitySpawn = 77,
|
|
AdminMessage = 78,
|
|
Anomaly = 79,
|
|
WireHacking = 80,
|
|
Teleport = 81,
|
|
EntityDelete = 82,
|
|
Vote = 83,
|
|
ItemConfigure = 84,
|
|
DeviceLinking = 85,
|
|
Tile = 86,
|
|
BagOfHolding = 420, //Nyano - Summary: adds bag of holding.
|
|
Psionics = 421, //Nyano - Summary: ads psionic as a log type.
|
|
|
|
/// <summary>
|
|
/// A client has sent too many chat messages recently and is temporarily blocked from sending more.
|
|
/// </summary>
|
|
ChatRateLimited = 87,
|
|
AtmosTemperatureChanged = 88,
|
|
DeviceNetwork = 89,
|
|
StoreRefund = 90
|
|
}
|