mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-24 03:20:30 +02:00
mass replaced all methods to pascal case
This commit is contained in:
parent
ed0a0a58f7
commit
24f55139dd
179 changed files with 1585 additions and 1585 deletions
|
@ -21,29 +21,29 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
this.currentTarget = firstTarget;
|
||||
}
|
||||
|
||||
public void addProperty(string property)
|
||||
public void AddProperty(string property)
|
||||
{
|
||||
if (!currentActorPropertyPacket.addProperty(forActor, property))
|
||||
if (!currentActorPropertyPacket.AddProperty(forActor, property))
|
||||
{
|
||||
currentActorPropertyPacket.setIsMore(true);
|
||||
currentActorPropertyPacket.addTarget();
|
||||
subPackets.Add(currentActorPropertyPacket.buildPacket(playerActorId, forActor.actorId));
|
||||
currentActorPropertyPacket.SetIsMore(true);
|
||||
currentActorPropertyPacket.AddTarget();
|
||||
subPackets.Add(currentActorPropertyPacket.BuildPacket(playerActorId, forActor.actorId));
|
||||
currentActorPropertyPacket = new SetActorPropetyPacket(currentTarget);
|
||||
}
|
||||
}
|
||||
|
||||
public void newTarget(string target)
|
||||
public void NewTarget(string target)
|
||||
{
|
||||
currentActorPropertyPacket.addTarget();
|
||||
currentActorPropertyPacket.AddTarget();
|
||||
currentTarget = target;
|
||||
currentActorPropertyPacket.setTarget(target);
|
||||
currentActorPropertyPacket.SetTarget(target);
|
||||
}
|
||||
|
||||
public List<SubPacket> done()
|
||||
public List<SubPacket> Done()
|
||||
{
|
||||
currentActorPropertyPacket.addTarget();
|
||||
currentActorPropertyPacket.setIsMore(false);
|
||||
subPackets.Add(currentActorPropertyPacket.buildPacket(playerActorId, forActor.actorId));
|
||||
currentActorPropertyPacket.AddTarget();
|
||||
currentActorPropertyPacket.SetIsMore(false);
|
||||
subPackets.Add(currentActorPropertyPacket.BuildPacket(playerActorId, forActor.actorId));
|
||||
return subPackets;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
public uint unknown;
|
||||
}
|
||||
|
||||
public static FaceInfo getFaceInfo(byte characteristics, byte characteristicsColor, byte faceType, byte ears, byte faceMouth, byte faceFeatures, byte faceNose, byte faceEyeShape, byte faceIrisSize, byte faceEyebrows)
|
||||
public static FaceInfo GetFaceInfo(byte characteristics, byte characteristicsColor, byte faceType, byte ears, byte faceMouth, byte faceFeatures, byte faceNose, byte faceEyeShape, byte faceIrisSize, byte faceEyebrows)
|
||||
{
|
||||
FaceInfo faceInfo = new FaceInfo();
|
||||
faceInfo.characteristics = characteristics;
|
||||
|
@ -47,7 +47,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
return faceInfo;
|
||||
}
|
||||
|
||||
public static UInt32 getTribeModel(byte tribe)
|
||||
public static UInt32 GetTribeModel(byte tribe)
|
||||
{
|
||||
switch (tribe)
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
class SQLGeneration
|
||||
{
|
||||
|
||||
public static void generateZones()
|
||||
public static void GenerateZones()
|
||||
{
|
||||
|
||||
using (MySqlConnection conn = new MySqlConnection(String.Format("Server={0}; Port={1}; Database={2}; UID={3}; Password={4}", ConfigConstants.DATABASE_HOST, ConfigConstants.DATABASE_PORT, ConfigConstants.DATABASE_NAME, ConfigConstants.DATABASE_USERNAME, ConfigConstants.DATABASE_PASSWORD)))
|
||||
|
@ -95,7 +95,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
}
|
||||
}
|
||||
|
||||
public static void generateActors()
|
||||
public static void GenerateActors()
|
||||
{
|
||||
|
||||
using (MySqlConnection conn = new MySqlConnection(String.Format("Server={0}; Port={1}; Database={2}; UID={3}; Password={4}", ConfigConstants.DATABASE_HOST, ConfigConstants.DATABASE_PORT, ConfigConstants.DATABASE_NAME, ConfigConstants.DATABASE_USERNAME, ConfigConstants.DATABASE_PASSWORD)))
|
||||
|
@ -153,7 +153,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
}
|
||||
}
|
||||
|
||||
public static void generateActorAppearance()
|
||||
public static void GenerateActorAppearance()
|
||||
{
|
||||
uint NUMFIELDS = 39;
|
||||
using (MySqlConnection conn = new MySqlConnection(String.Format("Server={0}; Port={1}; Database={2}; UID={3}; Password={4}", ConfigConstants.DATABASE_HOST, ConfigConstants.DATABASE_PORT, ConfigConstants.DATABASE_NAME, ConfigConstants.DATABASE_USERNAME, ConfigConstants.DATABASE_PASSWORD)))
|
||||
|
@ -221,7 +221,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
|
||||
}
|
||||
|
||||
public static void generateAchievementIds()
|
||||
public static void GenerateAchievementIds()
|
||||
{
|
||||
|
||||
using (MySqlConnection conn = new MySqlConnection(String.Format("Server={0}; Port={1}; Database={2}; UID={3}; Password={4}", ConfigConstants.DATABASE_HOST, ConfigConstants.DATABASE_PORT, ConfigConstants.DATABASE_NAME, ConfigConstants.DATABASE_USERNAME, ConfigConstants.DATABASE_PASSWORD)))
|
||||
|
@ -311,7 +311,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
|
||||
}
|
||||
|
||||
public void getStaticActors()
|
||||
public void GetStaticActors()
|
||||
{
|
||||
using (MemoryStream s = new MemoryStream(File.ReadAllBytes("D:\\luadec\\script\\staticactorr9w.luab")))
|
||||
{
|
||||
|
@ -324,7 +324,7 @@ namespace FFXIVClassic_Map_Server.utils
|
|||
|
||||
while (binReader.BaseStream.Position != binReader.BaseStream.Length)
|
||||
{
|
||||
uint id = Utils.swapEndian(binReader.ReadUInt32()) | 0xA0F00000;
|
||||
uint id = Utils.SwapEndian(binReader.ReadUInt32()) | 0xA0F00000;
|
||||
|
||||
List<byte> list = new List<byte>();
|
||||
byte readByte;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue