當前位置: 首頁>>代碼示例>>C#>>正文


C# RakNet.RakString類代碼示例

本文整理匯總了C#中RakNet.RakString的典型用法代碼示例。如果您正苦於以下問題:C# RakString類的具體用法?C# RakString怎麽用?C# RakString使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


RakString類屬於RakNet命名空間,在下文中一共展示了RakString類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: SerializeCompressedDelta

 public bool SerializeCompressedDelta(bool writeToBitstream, RakString inOutTemplateVar) {
   bool ret = RakNetPINVOKE.BitStream_SerializeCompressedDelta__SWIG_17(swigCPtr, writeToBitstream, RakString.getCPtr(inOutTemplateVar));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
開發者ID:ThiagoGarciaAlves,項目名稱:ClashOfClans,代碼行數:5,代碼來源:BitStream.cs

示例2: ToString

 public RakString ToString(Table.ColumnType columnType) {
   RakString ret = new RakString(RakNetPINVOKE.Cell_ToString(swigCPtr, (int)columnType), true);
   return ret;
 }
開發者ID:0521guo,項目名稱:RakNet,代碼行數:4,代碼來源:Cell.cs

示例3: OnWrongPassword

 public virtual void OnWrongPassword(RakString usedPassword, UDPProxyServer proxyServerPlugin)
 {
     RakNetPINVOKE.UDPProxyServerResultHandler_OnWrongPassword(swigCPtr, RakString.getCPtr(usedPassword), UDPProxyServer.getCPtr(proxyServerPlugin));
     if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
開發者ID:GreatDivine,項目名稱:GameNetworking,代碼行數:5,代碼來源:UDPProxyServerResultHandler.cs

示例4: MakeFilePath

 public RakString MakeFilePath() {
   RakString ret = new RakString(RakNetPINVOKE.RakString_MakeFilePath(swigCPtr), false);
   return ret;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:4,代碼來源:RakString.cs

示例5: SetRemoteLoginPassword

 public void SetRemoteLoginPassword(RakString password) {
   RakNetPINVOKE.UDPProxyCoordinator_SetRemoteLoginPassword(swigCPtr, RakString.getCPtr(password));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
開發者ID:songotony,項目名稱:RType-Client,代碼行數:4,代碼來源:UDPProxyCoordinator.cs

示例6: StrICmp

 public int StrICmp(RakString rhs) {
   int ret = RakNetPINVOKE.RakString_StrICmp(swigCPtr, RakString.getCPtr(rhs));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:5,代碼來源:RakString.cs

示例7: SplitURI

 public void SplitURI(RakString header, RakString domain, RakString path) {
   RakNetPINVOKE.RakString_SplitURI(swigCPtr, RakString.getCPtr(header), RakString.getCPtr(domain), RakString.getCPtr(path));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:4,代碼來源:RakString.cs

示例8: CopyData

 public RakString CopyData(SWIGTYPE_p_unsigned_char str) {
   RakString ret = new RakString(RakNetPINVOKE.RakString_CopyData__SWIG_2(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(str)), false);
   return ret;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:4,代碼來源:RakString.cs

示例9: RakString

 public RakString(RakString rhs) : this(RakNetPINVOKE.new_RakString__SWIG_4(RakString.getCPtr(rhs)), true) {
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:3,代碼來源:RakString.cs

示例10: WriteDelta

 public void WriteDelta(RakString currentValue, RakString lastValue) {
   RakNetPINVOKE.BitStream_WriteDelta__SWIG_20(swigCPtr, RakString.getCPtr(currentValue), RakString.getCPtr(lastValue));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
開發者ID:ThiagoGarciaAlves,項目名稱:ClashOfClans,代碼行數:4,代碼來源:BitStream.cs

示例11: Write

 public void Write(RakString inTemplateVar) {
   RakNetPINVOKE.BitStream_Write__SWIG_16(swigCPtr, RakString.getCPtr(inTemplateVar));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
 }
開發者ID:ThiagoGarciaAlves,項目名稱:ClashOfClans,代碼行數:4,代碼來源:BitStream.cs

示例12: NonVariadic

 public static RakString NonVariadic(string str) {
   RakString ret = new RakString(RakNetPINVOKE.RakString_NonVariadic(str), true);
   return ret;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:4,代碼來源:RakString.cs

示例13: getCPtr

 internal static HandleRef getCPtr(RakString obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:3,代碼來源:RakString.cs

示例14: ToInteger

 public static uint ToInteger(RakString rs) {
   uint ret = RakNetPINVOKE.RakString_ToInteger__SWIG_1(RakString.getCPtr(rs));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:5,代碼來源:RakString.cs

示例15: Equals

 public bool Equals(RakString rhs) {
   bool ret = RakNetPINVOKE.RakString_Equals__SWIG_0(swigCPtr, RakString.getCPtr(rhs));
   if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
開發者ID:sureandrew,項目名稱:RakNet,代碼行數:5,代碼來源:RakString.cs


注:本文中的RakNet.RakString類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。