Class SModRecord
java.lang.Object
com.fs.starfarer.api.impl.campaign.plog.SModRecord
IMPORTANT: only one S-Mod per record is supported.
- Author:
- Alex Copyright 2021 Fractal Softworks, LLC
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected WeakReference<FleetMemberAPI>
protected int
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getSMods()
int
long
void
setBonusXPFractionGained
(float bonusXPFractionGained) void
setMember
(FleetMemberAPI member) void
void
setSPSpent
(int spSpent) void
setTimestamp
(long timestamp)
-
Field Details
-
member
-
smods
-
spSpent
protected int spSpent -
bonusXPFractionGained
protected float bonusXPFractionGained -
timestamp
protected long timestamp
-
-
Constructor Details
-
SModRecord
-
-
Method Details
-
getMember
-
setMember
-
getSMods
-
setSmods
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
getSPSpent
public int getSPSpent() -
setSPSpent
public void setSPSpent(int spSpent) -
getBonusXPFractionGained
public float getBonusXPFractionGained() -
setBonusXPFractionGained
public void setBonusXPFractionGained(float bonusXPFractionGained)
-