mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
mass replaced all methods to pascal case
This commit is contained in:
@@ -20,7 +20,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.accountList = accountList;
|
||||
}
|
||||
|
||||
public List<SubPacket> buildPackets()
|
||||
public List<SubPacket> BuildPackets()
|
||||
{
|
||||
List<SubPacket> subPackets = new List<SubPacket>();
|
||||
|
||||
|
@@ -36,7 +36,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.worldName = worldName;
|
||||
}
|
||||
|
||||
public SubPacket buildPacket()
|
||||
public SubPacket BuildPacket()
|
||||
{
|
||||
MemoryStream memStream = new MemoryStream(0x1F0);
|
||||
BinaryWriter binWriter = new BinaryWriter(memStream);
|
||||
|
@@ -20,7 +20,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.characterList = characterList;
|
||||
}
|
||||
|
||||
public List<SubPacket> buildPackets()
|
||||
public List<SubPacket> BuildPackets()
|
||||
{
|
||||
List<SubPacket> subPackets = new List<SubPacket>();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
|
||||
foreach (Character chara in characterList)
|
||||
{
|
||||
Appearance appearance = Database.getAppearance(chara.id);
|
||||
Appearance appearance = Database.GetAppearance(chara.id);
|
||||
|
||||
if (totalCount == 0 || characterCount % MAXPERPACKET == 0)
|
||||
{
|
||||
@@ -53,7 +53,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
binWriter.Seek(0x10 + (0x1D0 * characterCount), SeekOrigin.Begin);
|
||||
|
||||
//Write Entries
|
||||
World world = Database.getServer(chara.serverId);
|
||||
World world = Database.GetServer(chara.serverId);
|
||||
string worldname = world == null ? "Unknown" : world.name;
|
||||
|
||||
binWriter.Write((uint)0); //???
|
||||
@@ -74,8 +74,8 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(chara.name.PadRight(0x20, '\0'))); //Name
|
||||
binWriter.Write(Encoding.ASCII.GetBytes(worldname.PadRight(0xE, '\0'))); //World Name
|
||||
|
||||
binWriter.Write(CharaInfo.buildForCharaList(chara, appearance)); //Appearance Data
|
||||
//binWriter.Write(CharaInfo.debug()); //Appearance Data
|
||||
binWriter.Write(CharaInfo.BuildForCharaList(chara, appearance)); //Appearance Data
|
||||
//binWriter.Write(CharaInfo.Debug()); //Appearance Data
|
||||
|
||||
characterCount++;
|
||||
totalCount++;
|
||||
|
@@ -23,7 +23,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public SubPacket buildPacket()
|
||||
public SubPacket BuildPacket()
|
||||
{
|
||||
MemoryStream memStream = new MemoryStream(0x210);
|
||||
BinaryWriter binWriter = new BinaryWriter(memStream);
|
||||
|
@@ -19,7 +19,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.namesList = names;
|
||||
}
|
||||
|
||||
public List<SubPacket> buildPackets()
|
||||
public List<SubPacket> BuildPackets()
|
||||
{
|
||||
List<SubPacket> subPackets = new List<SubPacket>();
|
||||
|
||||
|
@@ -19,7 +19,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.retainerList = retainerList;
|
||||
}
|
||||
|
||||
public List<SubPacket> buildPackets()
|
||||
public List<SubPacket> BuildPackets()
|
||||
{
|
||||
List<SubPacket> subPackets = new List<SubPacket>();
|
||||
|
||||
|
@@ -26,7 +26,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.selectCharTicket = selectCharTicket;
|
||||
}
|
||||
|
||||
public List<SubPacket> buildPackets()
|
||||
public List<SubPacket> BuildPackets()
|
||||
{
|
||||
List<SubPacket> subPackets = new List<SubPacket>();
|
||||
|
||||
|
@@ -20,7 +20,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
this.worldList = serverList;
|
||||
}
|
||||
|
||||
public List<SubPacket> buildPackets()
|
||||
public List<SubPacket> BuildPackets()
|
||||
{
|
||||
List<SubPacket> subPackets = new List<SubPacket>();
|
||||
|
||||
|
Reference in New Issue
Block a user