mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Renamed UNetWeaver.cs to Weaver.cs and renamed the warning/error messages too
This commit is contained in:
parent
47c98a0a59
commit
ebf6ab6777
@ -81,7 +81,7 @@ public void WriteBytesAndSize(byte[] buffer, int offset, int count)
|
|||||||
writer.Write(buffer, offset, count);
|
writer.Write(buffer, offset, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
// UNETWeaver needs a write function with just one byte[] parameter
|
// Weaver needs a write function with just one byte[] parameter
|
||||||
// (we don't name it .Write(byte[]) because it's really a WriteBytesAndSize since we write size / null info too)
|
// (we don't name it .Write(byte[]) because it's really a WriteBytesAndSize since we write size / null info too)
|
||||||
public void WriteBytesAndSize(byte[] buffer)
|
public void WriteBytesAndSize(byte[] buffer)
|
||||||
{
|
{
|
||||||
|
@ -71,14 +71,13 @@
|
|||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="SyncListStructProcessor.cs" />
|
<Compile Include="SyncListStructProcessor.cs" />
|
||||||
<Compile Include="UNetBehaviourProcessor.cs" />
|
<Compile Include="UNetBehaviourProcessor.cs" />
|
||||||
<Compile Include="UNetWeaver.cs" />
|
<Compile Include="Weaver.cs" />
|
||||||
<Compile Include="Helpers.cs" />
|
<Compile Include="Helpers.cs" />
|
||||||
<Compile Include="CompilationFinishedHook.cs" />
|
<Compile Include="CompilationFinishedHook.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<CecilFiles Include="$(TargetDir)Unity.Cecil.*" />
|
<CecilFiles Include="$(TargetDir)Unity.Cecil.*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
<MakeDir Directories="$(ProjectDir)..\Output\Editor" />
|
<MakeDir Directories="$(ProjectDir)..\Output\Editor" />
|
||||||
|
@ -12,12 +12,12 @@ public static class Log
|
|||||||
|
|
||||||
public static void Warning(string msg)
|
public static void Warning(string msg)
|
||||||
{
|
{
|
||||||
WarningMethod("UNetWeaver warning: " + msg);
|
WarningMethod("Mirror.Weaver warning: " + msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Error(string msg)
|
public static void Error(string msg)
|
||||||
{
|
{
|
||||||
ErrorMethod("UNetWeaver error: " + msg);
|
ErrorMethod("Mirror.Weaver error: " + msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user