本文整理匯總了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;
}
示例2: ToString
public RakString ToString(Table.ColumnType columnType) {
RakString ret = new RakString(RakNetPINVOKE.Cell_ToString(swigCPtr, (int)columnType), true);
return ret;
}
示例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();
}
示例4: MakeFilePath
public RakString MakeFilePath() {
RakString ret = new RakString(RakNetPINVOKE.RakString_MakeFilePath(swigCPtr), false);
return ret;
}
示例5: SetRemoteLoginPassword
public void SetRemoteLoginPassword(RakString password) {
RakNetPINVOKE.UDPProxyCoordinator_SetRemoteLoginPassword(swigCPtr, RakString.getCPtr(password));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
示例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;
}
示例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();
}
示例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;
}
示例9: RakString
public RakString(RakString rhs) : this(RakNetPINVOKE.new_RakString__SWIG_4(RakString.getCPtr(rhs)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
示例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();
}
示例11: Write
public void Write(RakString inTemplateVar) {
RakNetPINVOKE.BitStream_Write__SWIG_16(swigCPtr, RakString.getCPtr(inTemplateVar));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
示例12: NonVariadic
public static RakString NonVariadic(string str) {
RakString ret = new RakString(RakNetPINVOKE.RakString_NonVariadic(str), true);
return ret;
}
示例13: getCPtr
internal static HandleRef getCPtr(RakString obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例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;
}
示例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;
}