Elin Decompiled Documentation EA 23.312 Nightly Patch 4
Loading...
Searching...
No Matches
CustomContent.cs
Go to the documentation of this file.
1using Newtonsoft.Json;
2
3public abstract class CustomContent : EClass, ICustomContent
4{
5 [JsonIgnore]
6 public string ContentId { get; protected set; }
7
8 [JsonIgnore]
9 public EMod Owner { get; protected set; }
10
11 public virtual void OnGameLoad(GameIOContext context)
12 {
13 }
14
15 public virtual void OnGameSave(GameIOContext context)
16 {
17 }
18
19 public override string ToString()
20 {
21 return ContentId;
22 }
23}
virtual void OnGameSave(GameIOContext context)
override string ToString()
string ContentId
Definition: CustomContent.cs:6
virtual void OnGameLoad(GameIOContext context)
Definition: EClass.cs:6