Skip to content

Commit

Permalink
Rename Serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Jan 20, 2024
1 parent 228103d commit d387a55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Classes/VS_DataClient.uc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class VS_DataClient extends TcpLink
transient;

var Serialization S11N;
var VS_Serialization S11N;
var string Buffer;
var string CRLF;

Expand All @@ -19,7 +19,7 @@ event PostBeginPlay() {
Log("VS_DataClient.PostBeginPlay", 'VoteSys');
LinkMode = MODE_Text;
ReceiveMode = RMODE_Event;
S11N = class'Serialization'.static.Instance();
S11N = class'VS_Serialization'.static.Instance();
CRLF = Chr(13)$Chr(10);
Channel = VS_PlayerChannel(Owner);

Expand Down
4 changes: 2 additions & 2 deletions Classes/VS_DataLink.uc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var VS_ChannelContainer Channel;
var string SendBuffer;
var VS_Preset TempPreset;
var VS_Map TempMap;
var Serialization S11N;
var VS_Serialization S11N;

var string CRLF;

Expand All @@ -24,7 +24,7 @@ var string CommandParams;
event PostBeginPlay() {
LinkMode = MODE_Text;
ReceiveMode = RMODE_Event;
S11N = class'Serialization'.static.Instance();
S11N = class'VS_Serialization'.static.Instance();
CRLF = Chr(13)$Chr(10);

foreach AllActors(class'MutVoteSys', VoteSys)
Expand Down
8 changes: 4 additions & 4 deletions Classes/Serialization.uc → Classes/VS_Serialization.uc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Serialization extends Object;
class VS_Serialization extends Object;

var string CRLF;

static final function Serialization Instance() {
local Serialization Inst;
Inst = new(none, 'SerializationInstance') class'Serialization';
static final function VS_Serialization Instance() {
local VS_Serialization Inst;
Inst = new(none, 'VS_SerializationInstance') class'VS_Serialization';
Inst.CRLF = Chr(13)$Chr(10);
return Inst;
}
Expand Down

0 comments on commit d387a55

Please sign in to comment.