Changeset 402 for binary-improvements2/7dtd-server-fixes/src/ModApi.cs
- Timestamp:
- Jan 27, 2023, 7:28:00 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/7dtd-server-fixes/src/ModApi.cs
r391 r402 30 30 } 31 31 32 Log.Out ("Player connected" + 33 ", entityid=" + _cInfo.entityId + 34 ", name=" + _cInfo.playerName + 35 ", pltfmid=" + (_cInfo.PlatformId?.CombinedString ?? "<unknown>") + 36 ", crossid=" + (_cInfo.CrossplatformId?.CombinedString ?? "<unknown/none>") + 37 ", steamOwner=" + (owner ?? "<unknown/none>") + 38 ", ip=" + _cInfo.ip 32 Log.Out ( 33 $"Player connected, entityid={_cInfo.entityId}, name={_cInfo.playerName}, pltfmid={_cInfo.PlatformId?.CombinedString ?? "<unknown>"}, crossid={_cInfo.CrossplatformId?.CombinedString ?? "<unknown/none>"}, steamOwner={owner ?? "<unknown/none>"}, ip={_cInfo.ip}" 39 34 ); 40 35 } … … 66 61 67 62 if (_cInfo != null) { 68 Log.Out ( "Sent chat hook reply to {0}", _cInfo.InternalId);63 Log.Out ($"Sent chat hook reply to {_cInfo.InternalId}"); 69 64 _cInfo.SendPackage (NetPackageManager.GetPackage<NetPackageChat> ().Setup (EChatType.Whisper, -1, testChatAnswer, "", false, null)); 70 65 } else { 71 Log.Error ( "ChatHookExample: Argument _cInfo null on message: {0}", _msg);66 Log.Error ($"ChatHookExample: Argument _cInfo null on message: {_msg}"); 72 67 } 73 68
Note:
See TracChangeset
for help on using the changeset viewer.