Пример #1
0
        public static CharacterPositions GetAllCreaturesInVolume(VectorDto vectorDto, string shape, string dimensionStr, string whatSide = "All")
        {
            whatSide = whatSide.Replace(',', '|');
            ApiResponse response = Invoke("GetAllCreaturesInVolume", new string[] { vectorDto.GetXyzStr(), shape, dimensionStr, whatSide });

            if (response == null || response.Result == ResponseType.Failure)
            {
                return(null);
            }

            return(response.GetData <CharacterPositions>());
        }
Пример #2
0
 public static void SpinAroundPoint(VectorDto point)
 {
     Invoke("SpinAroundPoint", point.GetXyzStr());
 }
Пример #3
0
 public static void LookAtPoint(VectorDto point)
 {
     Invoke("LookAtPoint", point.GetXyzStr());
 }
Пример #4
0
 public static void BuildRingedWall(string effectName, string spellId, float wallLength, float distanceBetweenWallEffectsFeet, float lifeTime, float enlargeTime, float secondsDelayStart, float shrinkTime, float rotationDegrees, VectorDto targetPoint, float ringDiameter)
 {
     Invoke("BuildRingedWall", new string[] { effectName, spellId, wallLength.ToString(), distanceBetweenWallEffectsFeet.ToString(),
                                              lifeTime.ToString(), enlargeTime.ToString(), secondsDelayStart.ToString(),
                                              shrinkTime.ToString(), rotationDegrees.ToString(), targetPoint.GetXyzStr(), ringDiameter.ToString() });
 }
Пример #5
0
 public static void PlayEffectAtPosition(string effectName, string spellId, VectorDto vector, float lifeTime = 0, float enlargeTime = 0, float secondsDelayStart = 0, float shrinkTime = 0, float rotation = 0, bool isMoveable = false)
 {
     Invoke("PlayEffectAtPosition", new string[] { effectName, spellId, vector.GetXyzStr(), lifeTime.ToString(), enlargeTime.ToString(), secondsDelayStart.ToString(), shrinkTime.ToString(), rotation.ToString(), isMoveable.ToString() });
 }